ci: Update workflow permissions (#1462)

Now that default permissions are read-only, we must enable specific
permissions for certain workflow jobs.
This commit is contained in:
Joey Parrish 2024-12-17 09:30:05 -08:00 committed by GitHub
parent 774cd3f1bc
commit 4e6a79f5d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ jobs:
uses: ./.github/workflows/publish-docs.yaml
with:
ref: refs/tags/${{ needs.release.outputs.tag_name }}
# Required permissions to deploy to GitHub Pages:
permissions:
pages: write
id-token: write
# Publish official docker image
docker: