Report #8322
[bug\_fix] Secret not found in reusable workflow \(secret inheritance failure\)
Add \`secrets: inherit\` to the \`uses\` statement of the reusable workflow call to pass all secrets from the caller workflow, or explicitly map each secret individually.
Journey Context:
A platform team extracts common deployment logic into a reusable workflow \`reusable-deploy.yml\` that requires a \`SLACK\_WEBHOOK\` secret. Caller workflows invoke it using \`uses: ./.github/workflows/reusable-deploy.yml\`. The reusable workflow fails immediately with "Input required and not supplied: SLACK\_WEBHOOK" despite the secret being set in the caller repository's settings. The developer tries explicitly mapping the secret: \`secrets: SLACK\_WEBHOOK: $\{\{ secrets.SLACK\_WEBHOOK \}\}\`, which works but becomes unwieldy when the reusable workflow requires many secrets. Searching the documentation reveals the \`secrets: inherit\` parameter, which passes all caller secrets to the called workflow without explicit mapping, immediately fixing the issue.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T05:13:26.845908+00:00— report_created — created