{"name":"set-up-dependabot-updates","description":"Sets up GitHub Dependabot so dependency bumps and security fixes arrive as grouped pull requests from a single .github/dependabot.yml. Use when the user wants Dependabot, a dependabot.yml file, grouped npm or pip update PRs, or dependency security alerts turned on.","category":"deployment","tags":["dependabot","github","security"],"models":["any"],"proven":false,"passing_families":0,"model_testing":"Not yet model-tested; testing Jan 2027","url":"https://theskillvault.ai/skills/set-up-dependabot-updates","api_url":"https://theskillvault.ai/api/skills/set-up-dependabot-updates","raw_url":"https://theskillvault.ai/api/skills/set-up-dependabot-updates/raw","body":"# Set up Dependabot updates\n\nDependabot opens pull requests when your libraries have a newer version or a known vulnerability. One config file controls the version PRs. Security alerts are a separate switch in the repo settings.\n\n## When to use\n- The repo has a lockfile and nobody is bumping libraries.\n- Update pull requests are noisy and you want them grouped.\n- You want alerts when a dependency has a known vulnerability.\n\n## When not to use\n- You need the test workflow that runs on each pull request. That is a different setup.\n- You are doing one planned major upgrade by hand. Dependabot should not be the only plan for that.\n\n## Steps\n1. Turn on the three Dependabot switches in the repo settings (alerts, security updates, and grouped security updates). Version PRs still need the file in the next step.\n2. Add `.github/dependabot.yml` on the default branch. GitHub reads this path only. There is no second config file.\n3. List each ecosystem you actually have. npm, pnpm and yarn all use `package-ecosystem: npm`. Use `pip` or `uv` for Python, `docker` for a Dockerfile, and `github-actions` for workflow files.\n4. Point each entry at the folder that holds the manifest. `directory: \"/\"` is the repo root. Globs such as `/apps/*` belong under `directories` (plural). The singular key does not expand globs.\n5. Schedule version PRs weekly, and cap how many can sit open. Group minor and patch bumps so one PR covers many small libraries. Leave major bumps ungrouped so a breaking change is reviewed alone.\n6. Add a short cooldown on version bumps so a release that is a few hours old is not applied the same day. Security updates ignore the cooldown.\n7. If a package comes from a private registry, put the token in a GitHub Actions secret and reference it from `registries`. Do not paste the token into the yaml.\n8. Open a test PR by merging the config, then check the Insights or Dependabot tab. Rebase a stale PR with a comment of `@dependabot rebase`. Merge with the GitHub button or `gh pr merge`.\n\n```yaml\nversion: 2\nupdates:\n  - package-ecosystem: npm\n    directory: \"/\"\n    schedule:\n      interval: weekly\n      day: monday\n    open-pull-requests-limit: 5\n    cooldown:\n      default-days: 4\n    groups:\n      safe-bumps:\n        patterns: [\"*\"]\n        update-types: [\"minor\", \"patch\"]\n```\n\n## Gotchas\n- A dependency listed in both `allow` and `ignore` is ignored. Ignore wins.\n- `open-pull-requests-limit: 0` turns off version PRs. It does not turn off security alerts.\n- Setting `target-branch` sends version PRs to that branch. Security updates still target the default branch.\n- pnpm is not its own ecosystem name. `npm` plus a `pnpm-lock.yaml` is correct.\n- A folder with its own lockfile, such as `.github/`, needs its own `updates` entry.\n- Never commit a registry token, password or API key. Use `${{secrets.YOUR_TOKEN}}` and a secret that is not printed in logs.\n\n## Portability\nThis file is for GitHub. If you use GitLab, configure the same idea in Renovate or GitLab dependency scanning. The grouping idea (patch and minor together, majors alone) still applies.\n\n## Done when\n- `.github/dependabot.yml` is on the default branch and GitHub shows no config error.\n- Alerts are on, and a grouped minor or patch PR appears for at least one ecosystem.\n- No registry token is written in the file.\n\n## Example prompt\n\"Add Dependabot for this npm app. Group minor and patch updates into one weekly PR, and keep major updates separate.\"\n\n---\nAdapted from \"dependabot\" in github/awesome-copilot (MIT, Copyright GitHub, Inc.). See LICENSE.txt.","files":["LICENSE.txt"],"license":"MIT","license_name":"MIT License","license_url":"https://opensource.org/license/mit","attribution":"Based on work by GitHub awesome-copilot contributors (dependabot) (Copyright GitHub, Inc., MIT License), https://github.com/github/awesome-copilot/tree/5269f7ea2d6c3a9bfda5ed878b6726cf509121fd/skills/dependabot; adapted by TheSkillVault, https://theskillvault.ai","install":{"claude_code":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/set-up-dependabot-updates/raw' -o ~/'.claude/skills/set-up-dependabot-updates/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/set-up-dependabot-updates/files/LICENSE.txt' -o ~/'.claude/skills/set-up-dependabot-updates/LICENSE.txt'","cursor":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/set-up-dependabot-updates/raw' -o '.cursor/skills/set-up-dependabot-updates/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/set-up-dependabot-updates/files/LICENSE.txt' -o '.cursor/skills/set-up-dependabot-updates/LICENSE.txt'","agents":"curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/set-up-dependabot-updates/raw' -o '.agents/skills/set-up-dependabot-updates/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/set-up-dependabot-updates/files/LICENSE.txt' -o '.agents/skills/set-up-dependabot-updates/LICENSE.txt'","mcp_url":"https://theskillvault.ai/mcp","cursor_mcp_deeplink":"cursor://anysphere.cursor-deeplink/mcp/install?name=theskillvault&config=eyJ1cmwiOiJodHRwczovL3RoZXNraWxsdmF1bHQuYWkvbWNwIn0%3D","mcp_config":{"mcpServers":{"theskillvault":{"url":"https://theskillvault.ai/mcp"}}}},"bundles":[],"tested_on":[{"family":"chatgpt","name":"ChatGPT","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"claude","name":"Claude","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"gemini","name":"Gemini","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"grok","name":"Grok","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"llama","name":"Llama","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"deepseek","name":"DeepSeek","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"mistral","name":"Mistral","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"qwen","name":"Qwen","outcome":null,"date":null,"source":null,"counts":false,"stale":false},{"family":"kimi","name":"Kimi K","outcome":null,"date":null,"source":null,"counts":false,"stale":false}],"proven_rule":{"threshold":5,"window_days":365,"computed_at":"2026-11-29T03:42:30.374Z"}}