From 0895c41b9ad1bad9411bca8efb5665eccd5af923 Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Mon, 16 Mar 2026 22:18:54 -0400 Subject: [PATCH] Change permissions to allow write access for contents #1999 added granular permissions to grant `id-token: write` (which isn't granted by default). When doing this, I also added `contents: read` because granular permissions overwrite repo-level permissions, and not having it prevented the workflow from cloning its own repo. However, the `svenstaro/upload-release-action` action requires `contents: write`, which the pipeline no longer had. Change `contents` to `write` (which implies `read`) to fix that. --- .github/workflows/publish-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-windows.yml b/.github/workflows/publish-windows.yml index 2b7373057..02fcd2474 100644 --- a/.github/workflows/publish-windows.yml +++ b/.github/workflows/publish-windows.yml @@ -8,7 +8,7 @@ on: - v* permissions: - contents: read + contents: write id-token: write jobs: