Skip to content

Commit 5c99c80

Browse files
authored
fix(ci): updated permissions (#2)
1 parent b15e11a commit 5c99c80

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
timeout-minutes: 10
12+
permissions:
13+
contents: write
1214
steps:
13-
- name: Release
14-
uses: go-semantic-release/action@v1
15+
- uses: actions/checkout@v3
16+
- uses: go-semantic-release/action@v1
1517
if: github.ref == 'refs/heads/main'
16-
with:
17-
github-token: ${{ secrets.GITHUB_TOKEN }}
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)