mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
trying to fix permissions for workflow
This commit is contained in:
parent
94010505e9
commit
0dfc7020c8
1 changed files with 3 additions and 2 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -1,7 +1,5 @@
|
||||||
name: Create Release, update README, send announceybot
|
name: Create Release, update README, send announceybot
|
||||||
|
|
||||||
# we need write permission on contents for the release action
|
|
||||||
permissions: read-all|write-all
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -48,6 +46,9 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
permissions:
|
||||||
|
id-token: read|write
|
||||||
|
contents: read|write
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue