Skip to content

Commit

Permalink
less changing github token to custom PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
benleem committed Oct 30, 2024
1 parent 44b54ea commit ce17368
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
- "*"

permissions:
write-all
# contents: write
contents: write
# packages: write
# issues: write

Expand Down Expand Up @@ -38,7 +37,7 @@ jobs:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 comments on commit ce17368

Please sign in to comment.