From dfcdd98bbbac58678cdb9bb0e07eef28329c6556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20K=C3=A4hm?= Date: Tue, 30 Jul 2024 08:35:44 +0200 Subject: [PATCH] [FIX] Dependabot not working Dependabot did not work anymore. This fixes and adds Docker as well. Enable dependabot for most recent and supported branches: This change enables Dependabot for all supported branches, by trying to consume dependabot settings [`target-branch`](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#target-branch) together with [`commit-message.prefix`](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#commit-message) Fixes: #3168 --- .github/dependabot.yml | 50 ++++++++++++++++++++++++++++++++++++++++++ dependabot.yml | 14 ------------ 2 files changed, 50 insertions(+), 14 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..bc53bb64a5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,50 @@ +version: 2 +updates: + - + package-ecosystem: "composer" + directory: "/" + schedule: + interval: "daily" + allow: + - dependency-name: "solarium/solarium" + target-branch: "main" + commit-message: + prefix: "[TASK] 13.0.x-dev " + - + package-ecosystem: "docker" + directory: "/Docker/SolrServer" + schedule: + interval: "daily" + target-branch: "main" + commit-message: + prefix: "[TASK] 13.0.x-dev " + + # For release-12.0.x + - + package-ecosystem: "composer" + directory: "/" + schedule: + interval: "daily" + allow: + - dependency-name: "solarium/solarium" + target-branch: "release-12.0.x" + commit-message: + prefix: "[TASK] 12.0.x-dev " + - + package-ecosystem: "docker" + directory: "/Docker/SolrServer" + schedule: + interval: "daily" + target-branch: "release-12.0.x" + commit-message: + prefix: "[TASK] 12.0.x-dev " + + # For release-11.6.x + - + package-ecosystem: "docker" + directory: "/Docker/SolrServer" + schedule: + interval: "daily" + target-branch: "release-11.6.x" + commit-message: + prefix: "[TASK] 11.6.x-dev " diff --git a/dependabot.yml b/dependabot.yml deleted file mode 100644 index 8e395f1fbc..0000000000 --- a/dependabot.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "composer" - directory: "/" - schedule: - interval: "daily" - allow: - - dependency-name: "solarium/solarium" - - package-ecosystem: "composer" - directory: "/Resources/Private/Php/ComposerLibraries" - schedule: - interval: "daily" - allow: - - dependency-name: "solarium/solarium"