Steps 1 to 5 happen before any human reviews the change
Bot container
dependency scripts ignoredRead the manifest and lockfile.
Fetch full registry metadata, including the time map. Pick a target that passes ignore rules and the cooldown.
Regenerate the lockfile: npm install --ignore-scripts --package-lock-only. New or out-of-range transitive dependencies resolve fresh here.
Push dependabot/npm_and_yarn/<pkg>-<version> and open the pull request.
Your CI, on the bot's branch
first execution of the new codenpm ci installs the new version and runs its install scripts on npm 11 and earlier. The test suite then imports it, which runs import-time code under any script setting.
Secrets in this job: Dependabot branches get a read-only token and Dependabot secrets only. Renovate branches live in your repository, so they get your Actions secrets.
Merge
human or auto-merge ruleThe new version reaches the default branch, then every developer machine and deploy.
