From 1aee676bea56957b489753c5fc4deb0229ec4150 Mon Sep 17 00:00:00 2001 From: "Michael A. Smith" Date: Fri, 8 May 2026 09:12:48 -0400 Subject: [PATCH] fix(ci): grant build-phar caller job contents:write permission Workflow-level permissions:{} means the build-phar caller-job inherited no permissions. The local reusable workflow build-phar.yml declares permissions: contents: write at workflow level. GitHub rejects the call at startup because the caller cannot grant permissions it doesn't have, producing STARTUP_FAILURE with no logs (run 25553201816). Adding permissions: contents: write at the build-phar caller-job level gives it permission to grant to the called reusable workflow. Assisted-by: Claude Code --- .github/workflows/release-please.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e2ee2b3..98c1559 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -21,6 +21,8 @@ jobs: build-phar: needs: release-please if: ${{ needs.release-please.outputs.release_created == 'true' }} + permissions: + contents: write uses: ./.github/workflows/build-phar.yml with: tag_name: ${{ needs.release-please.outputs.tag_name }}