From af3485d1e8dc3cb692ae6bad6688b6ca8b965468 Mon Sep 17 00:00:00 2001 From: Quintin Willison Date: Wed, 7 Dec 2022 09:57:40 +0000 Subject: [PATCH] Override the default Dependabot configuration for npm (used by /example/test_harness/). Reaction to https://github.com/ably/ably-flutter/pull/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 --- .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 000000000..8bdda603e --- /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