Skip to content

Commit af3485d

Browse files
Override the default Dependabot configuration for npm (used by /example/test_harness/).
Reaction to #453 I need to do this in order to prevent Dependabot from creating a `dependencies` label in this repository every time it creates a PR. The `directory` and `schedule.interval` options are required and it doesn't look like it's possible to tell them to inherit the defaults. This is why I have had to explicitly give them values here. In turn I've upgraded from 'daily' to 'weekly' for interval as that feels more appropriately prompt. see: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#configuration-options-for-the-dependabotyml-file
1 parent 0269e48 commit af3485d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "daily" # weekdays (Monday to Friday)
7+
labels: [ ] # prevent the default `dependencies` label from being added to pull requests

0 commit comments

Comments
 (0)