Interview Prep/CI/CD/GitHub Actions Failures

Caller of a reusable workflow gets `Secret X is required, but not provided while calling`.

IntermediateTroubleshootingGitHub Actions Failures
Answer

Likely causes → The called workflow declares on.workflow_call.secrets.X.required: true but the caller did not pass it.

Diagnose → Compare the secrets: blocks.

Fix → Pass secrets: inherit or secrets: X: ${{ secrets.X }}.

Prevent → Document required inputs and secrets in the callee.

All CI/CD questions

More on GitHub Actions Failures