From 0de8a3ed4dfd27114171f5a3c2eb7e8efd6ca50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Levy?= Date: Mon, 11 Nov 2024 22:45:52 +0000 Subject: [PATCH 1/3] ci(dependabot): improve schedules --- .github/dependabot.yml | 110 +++++++++++++++++++++++++++++++++++------ 1 file changed, 95 insertions(+), 15 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index eec91d5b6123..a20613c6e931 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,34 +1,114 @@ version: 2 updates: + # Monorepo npm dependencies - package-ecosystem: npm - directory: / + directory: '/' schedule: interval: daily + time: '04:00' + timezone: 'Etc/UTC' labels: - - automerge - - dependencies + - 'automerge' + - 'dependencies' + commit-message: + prefix: 'chore(deps)' + prefix-development: 'chore(deps-dev)' + open-pull-requests-limit: 2 + groups: + # Group minor and patch updates together + minor-patch-dependencies: + patterns: + - '*' + update-types: + - 'minor' + - 'patch' + ignore: + # Ignore major updates as they might break things + - dependency-name: '*' + update-types: ['version-update:semver-major'] + versioning-strategy: increase + # Infra npm dependencies + - package-ecosystem: npm + directory: '/infra' + schedule: + interval: weekly + time: '04:00' + timezone: 'Etc/UTC' + labels: + - 'automerge' + - 'dependencies' + commit-message: + prefix: 'chore(deps)' + prefix-development: 'chore(deps-infra)' + open-pull-requests-limit: 2 + groups: + # Group minor and patch updates together + minor-patch-dependencies: + patterns: + - '*' + update-types: + - 'minor' + - 'patch' + ignore: + # Ignore major updates as they might break things + - dependency-name: '*' + update-types: ['version-update:semver-major'] + versioning-strategy: increase + + # GitHub Actions - package-ecosystem: github-actions - directory: / + directory: '/' schedule: - interval: daily + interval: weekly # Less frequent for Actions + day: 'monday' + time: '04:00' + timezone: 'Etc/UTC' labels: - - automerge - - dependencies + - 'automerge' + - 'dependencies' + - 'github-actions' + commit-message: + prefix: 'chore(ci)' + open-pull-requests-limit: 2 + # GitHub Actions npm dependencies - package-ecosystem: npm - directory: /.github/actions/ + directory: '/.github/actions/' schedule: - interval: daily + interval: weekly + day: 'monday' + time: '04:00' + timezone: 'Etc/UTC' labels: - - automerge - - dependencies + - 'automerge' + - 'dependencies' + - 'github-actions' + commit-message: + prefix: 'chore(ci-deps)' + open-pull-requests-limit: 2 + groups: + actions-deps: + patterns: + - '*' + # CI Scripts dependencies - package-ecosystem: npm - directory: /scripts/ci/cache + directory: '/scripts/ci/cache' schedule: - interval: daily + interval: weekly + day: 'monday' + time: '04:00' + timezone: 'Etc/UTC' labels: - - automerge - - dependencies + - 'automerge' + - 'dependencies' + - 'ci' + commit-message: + prefix: 'chore(ci-deps)' + open-pull-requests-limit: 2 + groups: + ci-deps: + patterns: + - '*' From d5400349bb9beb669dd8c4415d86cbd17174b2da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Levy?= Date: Tue, 12 Nov 2024 18:15:07 +0000 Subject: [PATCH 2/3] chore(deps): fix schedule --- .github/dependabot.yml | 84 +++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a20613c6e931..3c7ae217a072 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,17 +3,18 @@ version: 2 updates: # Monorepo npm dependencies - package-ecosystem: npm - directory: '/' + directory: / schedule: - interval: daily - time: '04:00' - timezone: 'Etc/UTC' + interval: weekly + time: 02:00 + day: saturday + timezone: Etc/UTC labels: - - 'automerge' - - 'dependencies' + - automerge + - dependencies commit-message: - prefix: 'chore(deps)' - prefix-development: 'chore(deps-dev)' + prefix: chore(deps) + prefix-development: chore(deps-dev) open-pull-requests-limit: 2 groups: # Group minor and patch updates together @@ -21,8 +22,8 @@ updates: patterns: - '*' update-types: - - 'minor' - - 'patch' + - minor + - patch ignore: # Ignore major updates as they might break things - dependency-name: '*' @@ -31,17 +32,17 @@ updates: # Infra npm dependencies - package-ecosystem: npm - directory: '/infra' + directory: /infra schedule: interval: weekly - time: '04:00' - timezone: 'Etc/UTC' + time: 03:00 + timezone: Etc/UTC labels: - - 'automerge' - - 'dependencies' + - automerge + - dependencies commit-message: - prefix: 'chore(deps)' - prefix-development: 'chore(deps-infra)' + prefix: chore(deps) + prefix-development: chore(deps-infra) open-pull-requests-limit: 2 groups: # Group minor and patch updates together @@ -49,8 +50,8 @@ updates: patterns: - '*' update-types: - - 'minor' - - 'patch' + - minor + - patch ignore: # Ignore major updates as they might break things - dependency-name: '*' @@ -59,34 +60,32 @@ updates: # GitHub Actions - package-ecosystem: github-actions - directory: '/' + directory: / schedule: interval: weekly # Less frequent for Actions - day: 'monday' - time: '04:00' - timezone: 'Etc/UTC' + day: saturday + time: 04:00 + timezone: Etc/UTC labels: - - 'automerge' - - 'dependencies' - - 'github-actions' + - automerge + - dependencies commit-message: - prefix: 'chore(ci)' + prefix: chore(ci) open-pull-requests-limit: 2 # GitHub Actions npm dependencies - package-ecosystem: npm - directory: '/.github/actions/' + directory: /.github/actions/ schedule: interval: weekly - day: 'monday' - time: '04:00' - timezone: 'Etc/UTC' + day: saturday + time: 05:00 + timezone: Etc/UTC labels: - - 'automerge' - - 'dependencies' - - 'github-actions' + - automerge + - dependencies commit-message: - prefix: 'chore(ci-deps)' + prefix: chore(ci-deps) open-pull-requests-limit: 2 groups: actions-deps: @@ -95,18 +94,17 @@ updates: # CI Scripts dependencies - package-ecosystem: npm - directory: '/scripts/ci/cache' + directory: /scripts/ci/cache schedule: interval: weekly - day: 'monday' - time: '04:00' - timezone: 'Etc/UTC' + day: saturday + time: 06:00 + timezone: Etc/UTC labels: - - 'automerge' - - 'dependencies' - - 'ci' + - automerge + - dependencies commit-message: - prefix: 'chore(ci-deps)' + prefix: chore(ci-deps) open-pull-requests-limit: 2 groups: ci-deps: From d07911710ae342aaa86b7f6179935df6eead4ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3n=20Levy?= Date: Tue, 12 Nov 2024 18:17:03 +0000 Subject: [PATCH 3/3] chore: better grouping --- .github/dependabot.yml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3c7ae217a072..97d8731a2921 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -72,6 +72,19 @@ updates: commit-message: prefix: chore(ci) open-pull-requests-limit: 2 + groups: + # Group minor and patch updates together + minor-patch-dependencies: + patterns: + - '*' + update-types: + - minor + - patch + ignore: + # Ignore major updates as they might break things + - dependency-name: '*' + update-types: ['version-update:semver-major'] + versioning-strategy: increase # GitHub Actions npm dependencies - package-ecosystem: npm @@ -88,9 +101,18 @@ updates: prefix: chore(ci-deps) open-pull-requests-limit: 2 groups: - actions-deps: + # Group minor and patch updates together + minor-patch-dependencies: patterns: - '*' + update-types: + - minor + - patch + ignore: + # Ignore major updates as they might break things + - dependency-name: '*' + update-types: ['version-update:semver-major'] + versioning-strategy: increase # CI Scripts dependencies - package-ecosystem: npm @@ -107,6 +129,15 @@ updates: prefix: chore(ci-deps) open-pull-requests-limit: 2 groups: - ci-deps: + # Group minor and patch updates together + minor-patch-dependencies: patterns: - '*' + update-types: + - minor + - patch + ignore: + # Ignore major updates as they might break things + - dependency-name: '*' + update-types: ['version-update:semver-major'] + versioning-strategy: increase