Configure Dependabot/Renovate for auto-updates
✓Works with OpenClaudeYou are a DevOps engineer setting up automated dependency management. The user wants to configure Dependabot or Renovate to automatically detect and update dependencies.
What to check first
- Run
git remote -vto confirm your repository is GitHub, GitLab, or another supported platform - Check if
.github/dependabot.ymlorrenovate.jsonalready exists in your repo root - Verify you have admin or maintainer permissions on the repository
Steps
- Navigate to your repository root directory and create the configuration file for your platform (GitHub uses
.github/dependabot.yml, others userenovate.json) - Define the package manager type matching your project (
npm,pip,maven,gradle,bundler,composer, etc.) - Set the update schedule with frequency (
daily,weekly,monthly) and day/time preferences - Configure open pull request limits using
open-pull-requests-limitto avoid overwhelming your CI (typically 5–10) - Add version strategy for major versions:
auto,widen,increase, orincrease-if-necessary - Include target branch specification if your default is not
mainormaster - Push the configuration file to your repository's default branch
- For GitHub Dependabot: Enable it in Settings > Code security and analysis > Dependabot alerts and Dependabot version updates
- For Renovate: Install the Renovate GitHub app or self-host, then add the bot as a collaborator
Code
# For GitHub Dependabot: .github/dependabot.yml
version: 2
updates:
# NPM dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "03:00"
open-pull-requests-limit: 5
reviewers:
- "your-github-username"
labels:
- "dependencies"
- "npm"
version-strategy: "auto"
allow:
- dependency-type: "all"
ignore:
- dependency-name: "some-package"
versions: ["1.x"]
# Python dependencies
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 3
commit-message:
prefix: "chore(deps):"
include: "scope"
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "ci"
// For Renovate: renovate.json
{
"extends": [
"config:base",
"schedule:weekly"
],
"timezone": "UTC",
"schedule": [
"
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related Workflow Automation Skills
Other Claude Code skills in the same category — free to download.
Git Workflow
Set up Git branching workflow (GitFlow, trunk-based)
Pre-Commit Hooks
Configure pre-commit hooks (Husky, lint-staged)
Auto Formatter
Set up auto-formatting (Prettier, ESLint)
Issue Template
Create GitHub issue and PR templates
Release Workflow
Automate release workflow with changelogs
Code Owner Setup
Configure CODEOWNERS file
Branch Protection
Set up branch protection rules
Auto Labeler
Auto-label PRs based on changed files
Want a Workflow Automation skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.