Add permissions

This commit is contained in:
Nick Fedor 2025-02-03 22:33:38 -07:00
parent 9d0b32b14c
commit d6da493df9
No known key found for this signature in database
GPG key ID: A167CBEDE64D29CB
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,10 @@ on:
types:
- closed
permissions:
actions: write
contents: read
jobs:
cleanup:
runs-on: ubuntu-latest

View file

@ -7,6 +7,12 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"
- "**/v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: read # Needed for all jobs to checkout the repository
packages: write # For the build job to push to GHCR
attestations: write # For managing attestations in the build job
id-token: write # For OIDC token usage in the build and potentially in the renew-docs job
jobs:
lint:
name: Lint