Skip to content

Commit e482353

Browse files
committed
Use GitHub actions token for goreleaser job.
This protects against things such as, I haven't uploaded a new release in over one year and the job failed because of it.
1 parent 3b51e78 commit e482353

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
goreleaser:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
-
1315
name: Checkout
@@ -36,5 +38,5 @@ jobs:
3638
version: latest
3739
args: release --clean
3840
env:
39-
GITHUB_TOKEN: ${{ secrets.GIT_PAT }}
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4042
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

0 commit comments

Comments
 (0)