Dependabot Configuration
Use Dependabot to keep your project up-to-date.
What is Dependabot?
Dependabot is an automation tool to simplify dependency management. With minimal setup, Dependabot will identify packages in your repository that have available updates and automatically create pull requests on your behalf.
How to Integrate Dependabot into Your Project
- Create a
.github
folder in your root directory. - Inside that folder add a
dependabot.yml
file and add the following content:
- Go into your Github projects
Settings
tab. - Click on
Code security and analysis
and enableDependabot security updates
. - Congrats! You now have Dependabot integrated into your project.
Config settings
version
- Specifies which version of Dependabot to usepackage-ecosystem
- Package manager you want Dependabot to monitordirectory
- Where Dependabot can find yourpackage.json
fileschedule.interval
- Specific interval to check for updates.schedule.day
- Specific day to check for updates.assignees
- The github user who gets assigned the PRlabels
- Labels that will be added to the PR
Edit on GitHub
Last updated on