From 5647f323a74ef04a4c23cc0848e2c95cbd109376 Mon Sep 17 00:00:00 2001 From: alexpolo1 Date: Sat, 20 Jun 2026 10:12:44 +0200 Subject: [PATCH] ci: grant contents:write so release upload step can attach the zip The build job's "Upload to Release" step failed with HTTP 403 "Resource not accessible by integration" because the default GITHUB_TOKEN is read-only. Add top-level permissions: contents: write. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d568f74..1690f4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,12 @@ on: release: types: [published] +# Default GITHUB_TOKEN is read-only; the build job's "Upload to Release" step +# needs contents:write to attach the built zip as a release asset (else HTTP 403 +# "Resource not accessible by integration"). +permissions: + contents: write + jobs: test: runs-on: windows-latest