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 7cb0cc1 commit 3eb9138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .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 }}"]')
NEW_BRANCHES=refs/heads/$(gh api /repos/${{ github.repository }}/rulesets/$RULESET_ID | jq '{conditions}' | jq '.conditions.ref_name.include += ["${{ 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 3eb9138

Please sign in to comment.