Skip to content

Commit

Permalink
Merge pull request #78 from cerberauth/use-goreleaser-pat
Browse files Browse the repository at this point in the history
ci: use pat as a pull request rule workaround
  • Loading branch information
emmanuelgautier authored Apr 2, 2024
2 parents 05665d9 + 4de8b75 commit 06d8ae4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')

permissions:
contents: write
packages: write
pull-requests: write

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -88,7 +83,7 @@ jobs:
version: latest
args: release --skip chocolatey
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}

publish-windows:
Expand All @@ -114,5 +109,4 @@ jobs:
version: latest
args: release --skip publish,snapcraft,docker,homebrew
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}

0 comments on commit 06d8ae4

Please sign in to comment.