Enable Dependabot security updates
At the repository level go to Settings → Security & analysis → Advanced Security and enable Dependabot security updates (sometimes labeled “Security updates”). You can also enable Grouped security updates to reduce PR noise by bundling related fixes from the same package ecosystem into fewer pull requests.
Enable Dependabot security updates at the repository level to get automated PRs for fixable vulnerabilities. Turn on grouped updates to bundle multiple related dependency bumps into a single PR and reduce churn.
What to expect: Dependabot PRs
When Dependabot opens a PR it typically:- Bumps the package version in dependency files such as
package.json,package-lock.json, oryarn.lock. - Includes a changelog or security note in the PR body when available.
- Is authored by the Dependabot bot and will reference the related Dependabot alert(s).

Review the Dependabot PR
Open the PR and review the changed files (for examplepackage.json, package-lock.json, or yarn.lock). Key review steps:
Always run your test suite and build steps on Dependabot PRs to ensure the upgrade doesn’t break your project.
Branch protection and required checks
Branch protection rules or required status checks (for example, CodeQL code scanning or other CI jobs) may block merging until checks pass. Repository admins with the appropriate permissions might see a “Bypass rules and merge” option, but bypassing protections is risky.Bypassing branch protection or required checks should be done only when absolutely necessary and by someone who understands the potential risk. Prefer letting CI and security scans complete before merging Dependabot updates.

Quick PR review checklist
Use this checklist when evaluating a Dependabot PR:Best practices
Links and references
- Dependabot security updates: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-security-updates
- Dependabot alerts: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/about-dependabot-alerts
- CodeQL code scanning: https://docs.github.com/en/code-security/code-scanning/using-codeql-code-scanning
- GitHub Security and analysis settings (repo level) — see your repository Settings → Security & analysis