From 8c4eb51f154d85130cf152ac358e95ba6ba887ad Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Wed, 8 Jul 2026 15:10:40 -0500 Subject: [PATCH] fix: grant contents:write to buildassets job in release flow The build_assets.yml reusable workflow now declares contents:write (needed to attach release assets via upload-release-action). A called workflow cannot request more permission than the caller grants, so release_flow.yml calling it with only contents:read caused a startup_failure. Grant contents:write on the buildassets job so the reusable workflow can compile and upload assets. Co-authored-by: Cursor --- .github/workflows/release_flow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release_flow.yml b/.github/workflows/release_flow.yml index 8174ce57..3497f4e8 100644 --- a/.github/workflows/release_flow.yml +++ b/.github/workflows/release_flow.yml @@ -21,6 +21,8 @@ jobs: buildassets: name: Build packages + permissions: + contents: write # required so the reusable workflow can attach release assets uses: ./.github/workflows/build_assets.yml with: release: true