Skip to content

Commit

Permalink
add GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jun 7, 2024
1 parent 6d7c899 commit 0b7a0ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
# When v0.50.0 is released, a release branch "release/v0.50" is created.
- name: Add release branch to rulesets
if: ${{ endsWith(steps.extract_info.outputs.version, '.0') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: |
RULESET_ID=$(gh api /repos/"${{ github.repository }}"/rulesets --jq '.[] | select(.name == "release") | .id')
Expand Down

0 comments on commit 0b7a0ea

Please sign in to comment.