Workflow-level permissions: write in a reusable workflow causes startup_failure when calling workflow has default (read-only) permissions. Move write scope to the phpcs job level only — the one job that actually needs it (phpcbf commit-back). All other jobs run with the inherited read scope. Self-test caller (ci-self-test.yml) confirmed clean with no top-level write permission declared — job-level override in the reusable workflow is sufficient. Confirmed via bisect: ci-bisect.yml (workflow-level write) startup_failed; ci-minimal.yml (no write needed) succeeded; ci-bisect-caller with permissions: write added succeeded. Job-level approach is the correct pattern. Agent-Session: claude/reusable-ci-20260616
664 B
664 B