From ab79d86df334613b0f0d67233bd49cbd1aa5465c Mon Sep 17 00:00:00 2001 From: Erika Gili Date: Tue, 17 Nov 2026 12:43:57 +0100 Subject: [PATCH 1/2] Improve dependabot configuration --- .github/dependabot.yml | 43 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9fe8819..f6d50b4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,12 +1,51 @@ version: 2 +registries: + private_packagist: + type: composer-repository + url: https://repo.packagist.com/inpsyde/ + username: token + password: ${{secrets.PACKAGIST_TOKEN}} + github: + type: git + url: https://github.com + username: x-access-token + password: ${{secrets.DEPLOYBOT_PACKAGES_READ_WRITE_TOKEN}} + updates: - package-ecosystem: "composer" directory: "/" schedule: interval: "weekly" - + day: "monday" + registries: + - private_packagist + - github + cooldown: + default-days: 3 + semver-major-days: 14 + groups: + composer-security: + applies-to: security-updates + patterns: ["*"] + composer-production: + applies-to: version-updates + dependency-type: "production" + update-types: ["minor", "patch"] + composer-development: + applies-to: version-updates + dependency-type: "development" + update-types: ["minor", "patch"] - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "weekly" + interval: "monthly" + cooldown: + default-days: 3 + groups: + github-actions-security: + applies-to: security-updates + patterns: ["*"] + github-actions-updates: + applies-to: version-updates + update-types: ["minor", "patch"] From 4d583891405a5503dff1329f78f18d441f9398c4 Mon Sep 17 00:00:00 2001 From: Erika Gili Date: Tue, 17 Nov 2026 14:29:31 +0100 Subject: [PATCH 2/2] Public repositories don't require private dependencies, removing registries --- .github/dependabot.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f6d50b4..7f1c2e1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,26 +1,11 @@ version: 2 -registries: - private_packagist: - type: composer-repository - url: https://repo.packagist.com/inpsyde/ - username: token - password: ${{secrets.PACKAGIST_TOKEN}} - github: - type: git - url: https://github.com - username: x-access-token - password: ${{secrets.DEPLOYBOT_PACKAGES_READ_WRITE_TOKEN}} - updates: - package-ecosystem: "composer" directory: "/" schedule: interval: "weekly" day: "monday" - registries: - - private_packagist - - github cooldown: default-days: 3 semver-major-days: 14