mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
another attempt to use permissions
This commit is contained in:
parent
0dfc7020c8
commit
72000738a0
1 changed files with 3 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -9,6 +9,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
id-token: read|write
|
||||||
|
contents: read|write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@ -46,9 +49,6 @@ 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