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
checks: write
contents: read
packages: write
needs: [find-latest-image]
steps:
- name: Check out repository

View File

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

View File

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

View File

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