ci: add missing permissions to workflows

+ packages: write
+ checks: write
This commit is contained in:
Otto Bittner 2023-04-24 11:32:22 +02:00
parent dc5e6f30a9
commit 840eb401c6
4 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,7 @@ jobs:
id-token: write id-token: write
checks: write checks: write
contents: read contents: read
packages: write
needs: [find-latest-image] needs: [find-latest-image]
steps: steps:
- name: Check out repository - name: Check out repository

View File

@ -160,6 +160,7 @@ jobs:
id-token: write id-token: write
checks: write checks: write
contents: read contents: read
packages: write
steps: steps:
- name: Install the basics tools (macOS) - name: Install the basics tools (macOS)
if: runner.os == 'macOS' if: runner.os == 'macOS'

View File

@ -174,6 +174,7 @@ jobs:
id-token: write id-token: write
checks: write checks: write
contents: read contents: read
packages: write
needs: [find-latest-image] needs: [find-latest-image]
steps: steps:
- name: Check out repository - name: Check out repository

View File

@ -94,7 +94,9 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
permissions: permissions:
id-token: write id-token: write
checks: write
contents: read contents: read
packages: write
steps: steps:
- name: Checkout - name: Checkout
if: inputs.gitRef == 'head' if: inputs.gitRef == 'head'