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:
parent
774cd3f1bc
commit
4e6a79f5d7
|
@ -83,6 +83,10 @@ jobs:
|
||||||
uses: ./.github/workflows/publish-docs.yaml
|
uses: ./.github/workflows/publish-docs.yaml
|
||||||
with:
|
with:
|
||||||
ref: refs/tags/${{ needs.release.outputs.tag_name }}
|
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
|
# Publish official docker image
|
||||||
docker:
|
docker:
|
||||||
|
|
Loading…
Reference in New Issue