Skip to content

Commit

Permalink
Test limiting permissions to just this action
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Mar 29, 2023
1 parent a3f4127 commit 31a941a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [created]

permissions:
contents: write
packages: write

jobs:
releases-matrix:
name: Release Go Binary
Expand All @@ -24,7 +28,7 @@ jobs:
goos: darwin
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.32
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
Expand Down

0 comments on commit 31a941a

Please sign in to comment.