1
0
Fork 0
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:
Rene Schallner 2023-05-22 03:26:09 +02:00
parent 0dfc7020c8
commit 72000738a0

View file

@ -9,6 +9,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: read|write
contents: read|write
steps:
- name: Checkout code
@ -46,9 +49,6 @@ jobs:
- name: Create Release
id: create_release
uses: actions/create-release@v1
permissions:
id-token: read|write
contents: read|write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions
with: