Skip to content

Commit

Permalink
release: v0.52.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jun 7, 2024
1 parent c1dd1a2 commit ed49a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
echo "$RULESET_ID"
echo ${{ steps.extract_info.outputs.version }}
echo ${{ steps.extract_info.outputs.release_branch }}
NEW_BRANCHES=$(gh api /repos/${{ github.repository }}/rulesets/$RULESET_ID | jq '{conditions}' | jq '.conditions.ref_name.include += ["${{ steps.extract_info.outputs.release_branch }}"]')
echo "refs/heads/$NEW_BRANCHES"
NEW_BRANCHES=$(gh api /repos/${{ github.repository }}/rulesets/$RULESET_ID | jq '{conditions}' | jq '.conditions.ref_name.include += ["refs/heads/${{ steps.extract_info.outputs.release_branch }}"]')
echo "$NEW_BRANCHES"
echo "$NEW_BRANCHES" | gh api --method put --input - /repos/${{ github.repository }}/rulesets/$RULESET_ID

0 comments on commit ed49a95

Please sign in to comment.