From a7660cc43b1542a8d95eb05c12a1a4b175f18646 Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Tue, 11 Feb 2025 11:36:54 +0100 Subject: [PATCH] CI: fix (again) Dependabot setup: add workaround to set different schedules for npm updates --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a6217de5..b2bef060 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,10 @@ version: 2 updates: - package-ecosystem: "npm" + # The redundant target-branch directive is needed to set two different update schedules for npm, + # working around a dependabot limitation: + # see https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219 . + target-branch: main directory: "/" schedule: interval: "daily"