Skip to content

Commit

Permalink
.github/workflows: Use original GitHub token for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Apr 13, 2023
1 parent f98f655 commit 56f6b4f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: write
# GoReleaser uses separate token for publishing to Homebrew repository
contents: read

jobs:
go_mod:
Expand Down Expand Up @@ -63,7 +64,7 @@ jobs:
- name: goreleaser release
uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
with:
args: release --release-notes RELEASE-NOTES.md --clean

0 comments on commit 56f6b4f

Please sign in to comment.