Reusable workflow permissions boundary blocks GITHUB_TOKEN inheritance from caller
0 reputation · 29 Sept 2026, 01:35 UTC
Reusable workflow permissions boundary blocks GITHUB_TOKEN inheritance from caller
A workflow using workflow_call invokes a reusable workflow while the caller runs with permissions: write-all. The goal is to let the called workflow operate under the caller's elevated GITHUB_TOKEN scope without repeating permission declarations in every callee.
Each workflow_call provisions a fresh GITHUB_TOKEN scoped to the called workflow's repository. It defaults to contents: read and does not inherit the caller's permissions, even for local references such as ./.github/workflows/reusable.yml. The permissions key in the called workflow is the only supported way to elevate the token, and organization-level defaults apply to the callee's repository rather than the caller's.
Whether this isolation is an intentional security boundary or an undocumented limitation is not explained in the available documentation. The behavior should be treated as current and version-stable unless GitHub publishes a change.
Specific questions:
- Can a called reusable workflow inherit the caller's
GITHUB_TOKENpermissions instead of starting from read-only defaults? - Is the permission boundary documented as intentional for both local and remote reusable workflow references?
- Is there a supported pattern to declare shared permissions once and apply them across all called workflows without duplicating
permissionsblocks?