Skip to content

Commit 5ae34f3

Browse files
committed
Fix workflow permission #1
1 parent a279eac commit 5ae34f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55

66
name: Release Linux binary
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build-and-release:
1013
runs-on: ubuntu-latest
@@ -55,5 +58,6 @@ jobs:
5558
- name: Create release and upload artifact
5659
uses: ncipollo/release-action@v1
5760
with:
61+
token: ${{ secrets.GITHUB_TOKEN }}
5862
tag: ${{ github.ref_name }}
5963
files: dist/*.tar.gz

0 commit comments

Comments
 (0)