Skip to content

docs: add GOTCHAS #12 — caller permissions can break reusable workflows#40

Merged
jr200 merged 1 commit into
masterfrom
docs/release-please-perms-gotcha
Apr 21, 2026
Merged

docs: add GOTCHAS #12 — caller permissions can break reusable workflows#40
jr200 merged 1 commit into
masterfrom
docs/release-please-perms-gotcha

Conversation

@jr200

@jr200 jr200 commented Apr 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Document the caller-permissions cascade gotcha surfaced while rolling out release-please to a second consumer repo. Same YAML pattern that worked on one repo hit `startup_failure` with no logs on another — root cause was top-level `permissions: contents: read` being insufficient for the reusable's release job.

Changes

Test plan

  • Docs-only (plus a comment in the reusable); no workflow behaviour change

Startup_failure with no logs can occur when caller top-level permissions
don't include the scopes needed by the reusable workflow's jobs. Document
the pattern + add required perms to the release_please.yaml header
comment so new consumers don't hit this.
@jr200 jr200 merged commit cb90c60 into master Apr 21, 2026
2 checks passed
@jr200 jr200 deleted the docs/release-please-perms-gotcha branch April 21, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant