8.1 โ Enable Dependabot
- Repository Settings โ Security and quality โ Advanced Security
- Dependabot section:
- Enable Dependency graph (prerequisite for Dependabot)
- Enable Dependabot security updates
- Enable Dependabot version updates โ an editor opens with a
.github/dependabot.ymltemplate
- Change
package-ecosystem: ""in the template to"npm"(this repo uses the pnpm / npm ecosystem). The final file should look like this:
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- Commit changesโฆ โ choose "Create a new branch and start a pull request" โ open the PR and merge it