Skip to content

Commit 3637bd4

Browse files
authored
fixed permissions
1 parent f1ec56c commit 3637bd4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: [ "main" ]
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
publish:
1013

@@ -52,6 +55,8 @@ jobs:
5255
git config --global user.email "github-actions[bot]@user.noreply.github.com"
5356
git tag -a ${{ env.VERSION }} -m"${{ env.VERSION }}"
5457
git push origin ${{ env.VERSION }}
58+
env:
59+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5560
- name: Create Release
5661
run: gh release create ${{ env.VERSION }} --title ${{ env.VERSION }} --notes-file release-notes.md ${{github.workspace}}/Packages/*.nupkg ${{github.workspace}}/Packages/*.snupkg
5762
env:

0 commit comments

Comments
 (0)