Skip to content

Commit

Permalink
ci: use custom PAT in release-security-fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MShekow committed Jul 31, 2024
1 parent c5a49a8 commit 21c6ddc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-security-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
jobs:
release-security-patch-release:
runs-on: ubuntu-latest
permissions:
contents: write # required by anothrNick/github-tag-action
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -62,7 +60,9 @@ jobs:
if: steps.scan_latest_build.outcome == 'success'
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Note: we use a custom PAT, because secrets.GITHUB_TOKEN has a limitation that tags pushed with it
# will NOT trigger workflows that are configured for "on -> push -> tags")
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
WITH_V: true
DEFAULT_BUMP: "patch"
FORCE_WITHOUT_CHANGES: true

0 comments on commit 21c6ddc

Please sign in to comment.