Skip to content

Commit

Permalink
chore: ci: allow using pat for tag creation during release
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored and rvagg committed Jul 15, 2024
1 parent fdf829b commit 28004a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ jobs:
env:
release_id: ${{ fromJSON(steps.after.outputs.release).id }}
make_latest: ${{ fromJSON(steps.project.outputs.config).latest }}
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.TAG_CREATE_GITHUB_TOKEN || github.token }}
run: |
gh api -X PATCH /repos/$GITHUB_REPOSITORY/releases/$release_id \
--field draft=false \
Expand Down

0 comments on commit 28004a4

Please sign in to comment.