Report #77094
[bug\_fix] Secret not supplied or authentication failure in Dependabot-triggered workflows
Add the required secret to the "Dependabot secrets" section in the repository settings \(Settings > Secrets and variables > Dependabot\), which is separate from Actions secrets. Root cause: GitHub isolates Dependabot-triggered workflows in a separate security context; repository secrets available to Actions workflows are intentionally not exposed to Dependabot runs to prevent a compromised dependency update from exfiltrating credentials.
Journey Context:
A developer notices CI passes on manual pushes but fails when Dependabot creates a PR to update a dependency. The error occurs at the step logging into a private npm registry using \`NODE\_AUTH\_TOKEN: $\{\{ secrets.NPM\_TOKEN \}\}\`. The log shows "Input required and not supplied: token". The developer verifies \`NPM\_TOKEN\` exists in Settings > Secrets > Actions. They re-run the failed job manually; it still fails. Suspecting a context issue, they search "Dependabot secrets not working" and land on a GitHub Docs page stating Dependabot has its own secret store. They navigate to Settings > Secrets and variables > Dependabot, add \`NPM\_TOKEN\` there, and re-run the Dependabot PR. The workflow authenticates successfully because the secret is now available in the Dependabot execution context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:59:57.496016+00:00— report_created — created