Skip to content

Commit

Permalink
chore: enable Dependabot for security updates only
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan authored Nov 30, 2023
1 parent 3979500 commit f074096
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# NOTE: This file is not managed by Projen because if you enable Dependabot through Projen,
# it will delete the upgrade-main job and expect you to only use Dependabot for updates.
# That is not what we want either; we just want to use Dependabot for security updates.

version: 2
updates:
- package-ecosystem: npm
versioning-strategy: lockfile-only
directory: /
schedule:
interval: daily
ignore:
- dependency-name: projen
labels:
- auto-approve
- automerge
- dependencies
- security
# Disable version updates for npm dependencies, only use Dependabot for security updates
open-pull-requests-limit: 0

0 comments on commit f074096

Please sign in to comment.