From a0c8d3d756d72c4954e48bb90eba404e6e0559c9 Mon Sep 17 00:00:00 2001 From: Quintin Willison Date: Wed, 7 Dec 2022 20:21:59 +0000 Subject: [PATCH] Override the default Dependabot configuration for npm. 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 --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8bdda60 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "daily" # weekdays (Monday to Friday) + labels: [ ] # prevent the default `dependencies` label from being added to pull requests