Dependabot PRs fail CI because secrets like `NPM_TOKEN` are empty, while human PRs pass.
IntermediateTroubleshootingGitHub, Actions and Pull Request Issues
Answer
Likely causes → Workflows triggered by Dependabot run with Dependabot secrets, not Actions secrets, and get a read-only GITHUB_TOKEN.
Diagnose → github.actor == 'dependabot[bot]' in the failing runs.
Fix → Add the needed values under Settings → Secrets and variables → Dependabot (same names), and for private registries configure them in .github/dependabot.yml under registries:. Grant extra token permissions explicitly in the workflow if needed.
Prevent → Keep a list of secrets required by CI and mirror them in the Dependabot secret store when you add new ones.
More on GitHub, Actions and Pull Request Issues
A workflow step that pushes a version bump fails with `remote: Permission to org/repo.git denied to github-actions[bot].` and `The requested URL returned error: 403`.IntermediateA workflow pushes a commit or tag, but the workflow that should run on that push or tag never starts.IntermediateA container job fails on any Git command with `fatal: detected dubious ownership in repository at '/__w/app/app'`.IntermediateYour PR suddenly shows 340 changed files and dozens of commits you did not write.IntermediateThe PR is stuck on `Expected — Waiting for status to be reported` for a required check called `build`.IntermediateThe PR was approved, but merging shows "Review required" again after you pushed a small fix.Beginner