From 4e6a79f5d7c393cae8d2920d1c65dc771ee15a12 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 17 Dec 2024 09:30:05 -0800 Subject: [PATCH] ci: Update workflow permissions (#1462) Now that default permissions are read-only, we must enable specific permissions for certain workflow jobs. --- .github/workflows/release-please.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index e426ff69e8..a411e95269 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -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: