Skip to content

Commit

Permalink
Use secrets.GITHUB_TOKEN secret in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Phoen committed Aug 14, 2023
1 parent e246fdd commit 6867a4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
release_branch: master
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

goreleaser:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,5 +57,5 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
GORELEASER_CURRENT_TAG: ${{ needs.tag.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ needs.tag.outputs.version }}

0 comments on commit 6867a4a

Please sign in to comment.