-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: try Dependabot for security updates (#139)
Security would like everyone to turn on Dependabot for security updates if possible. This is me trying this out for a Projen-based repo to see how well they play with each other. See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file for more details.
- Loading branch information
Showing
4 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.