From f28f52d8b42bc677e77e84d2e4fe6e4f6fe8383f Mon Sep 17 00:00:00 2001 From: Ricardo M Date: Mon, 8 May 2023 10:21:49 +0200 Subject: [PATCH] chore(dependabot): Instruct dependabot to create a single pr At the moment, every time that dependabot creates a pull request for update a dependency, it creates a separate pull request to each sub-package. As an example, to update webpack, it will create at least seven pull requests, one for each package. Checking this issue https://github.com/dependabot/dependabot-core/issues/3399 it seems possible to configure only the root package.json and let dependabot read the subsequent packages from yarn workspaces. --- .github/dependabot.yml | 56 +++--------------------------------------- 1 file changed, 3 insertions(+), 53 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 47efc6e5..a70a0369 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,59 +6,9 @@ updates: schedule: interval: "daily" - - # Extensions to watch - # create a new element per extension - - package-ecosystem: "npm" - directory: "/choice" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/http" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/load-balance" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/set-body" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/set-header" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/set-property" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/step-extension-ogcapi-features-action" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/transform" - schedule: - interval: "daily" - open-pull-requests-limit: 5 - - - package-ecosystem: "npm" - directory: "/try-catch-eip" + # Root yarn workspace + - package-ecosystem: "npm" + directory: "/" schedule: interval: "daily" open-pull-requests-limit: 5