From c692efa2de1d2456ebb7e7a482b20607024a5437 Mon Sep 17 00:00:00 2001 From: Mariusz Klochowicz Date: Tue, 23 Sep 2025 15:26:38 +0930 Subject: [PATCH] fix(dependabot): remove anchors from dependabot config (#10422) fix(dependabot): Remove anchors from dependabot config YAML anchors are not supported here. Also: - remove explicit major,minor and patch version cooldown periods - actually set it to 28 days (like previous PR claimed) Fixes #10378 --- .github/dependabot.yml | 54 ++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8fd960c55..c23efd377 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,22 +5,19 @@ version: 2 -# Define reusable security configuration using YAML anchors -x-security-config: &default-security-config - schedule: - interval: weekly - cooldown: - default-days: 7 - semver-major-days: 7 - semver-minor-days: 7 - semver-patch-days: 7 updates: - package-ecosystem: mix directory: elixir/ - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 - package-ecosystem: pip directory: /.github - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 - package-ecosystem: github-actions directories: - "/" @@ -33,11 +30,17 @@ updates: - "/.github/actions/setup-postgres" - "/.github/actions/setup-rust" - "/.github/actions/setup-tauri-v2" - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 - package-ecosystem: cargo directory: rust/ open-pull-requests-limit: 20 - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 groups: tauri: patterns: @@ -73,7 +76,10 @@ updates: - rand_* - package-ecosystem: gradle directory: kotlin/android/ - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 ignore: # Depends on JDK version which is bundled with Android Studio (JDK 17) - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin @@ -132,13 +138,22 @@ updates: - package-ecosystem: swift directory: swift/apple/FirezoneKit - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 - package-ecosystem: npm directory: website/ - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 - package-ecosystem: npm directory: rust/gui-client/ - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28 groups: tauri: patterns: @@ -163,4 +178,7 @@ updates: - "@types/react-dom" - package-ecosystem: npm directory: elixir/apps/web/assets/ - <<: *default-security-config + schedule: + interval: weekly + cooldown: + default-days: 28