From 91ee789e45b2bb13a27dff2e6336dd9642863bb9 Mon Sep 17 00:00:00 2001 From: serverless-qe Date: Tue, 4 Feb 2025 08:47:04 +0000 Subject: [PATCH] Update dependabot configurations --- .github/dependabot.yml | 104 +++++++++++++++++++++++++ .github/workflows/dependabot-deps.yaml | 6 +- 2 files changed, 106 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0941961e375c..45736f7d97a3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -19,6 +19,33 @@ updates: update-types: - version-update:semver-major - version-update:semver-minor + groups: + major: + update-types: + - major + patterns: + - '*' + applies-to: version-updates + minor: + update-types: + - minor + patterns: + - '*' + applies-to: version-updates + patch: + update-types: + - patch + patterns: + - '*' + applies-to: version-updates + security: + update-types: + - patch + - minor + - major + patterns: + - '*' + applies-to: security-updates target-branch: release-v1.15 commit-message: prefix: '[release-v1.15][gomod]' @@ -42,7 +69,84 @@ updates: update-types: - version-update:semver-major - version-update:semver-minor + groups: + major: + update-types: + - major + patterns: + - '*' + applies-to: version-updates + minor: + update-types: + - minor + patterns: + - '*' + applies-to: version-updates + patch: + update-types: + - patch + patterns: + - '*' + applies-to: version-updates + security: + update-types: + - patch + - minor + - major + patterns: + - '*' + applies-to: security-updates target-branch: release-v1.16 commit-message: prefix: '[release-v1.16][gomod]' open-pull-requests-limit: 10 + - package-ecosystem: gomod + directories: + - / + schedule: + interval: weekly + ignore: + - dependency-name: knative.dev/* + - dependency-name: k8s.io/* + update-types: + - version-update:semver-major + - version-update:semver-minor + - dependency-name: github.com/openshift/* + update-types: + - version-update:semver-major + - version-update:semver-minor + - dependency-name: sigs.k8s.io/controller-runtime + update-types: + - version-update:semver-major + - version-update:semver-minor + groups: + major: + update-types: + - major + patterns: + - '*' + applies-to: version-updates + minor: + update-types: + - minor + patterns: + - '*' + applies-to: version-updates + patch: + update-types: + - patch + patterns: + - '*' + applies-to: version-updates + security: + update-types: + - patch + - minor + - major + patterns: + - '*' + applies-to: security-updates + target-branch: release-v1.17 + commit-message: + prefix: '[release-v1.17][gomod]' + open-pull-requests-limit: 10 diff --git a/.github/workflows/dependabot-deps.yaml b/.github/workflows/dependabot-deps.yaml index ce3f94608845..eb1c4b622337 100644 --- a/.github/workflows/dependabot-deps.yaml +++ b/.github/workflows/dependabot-deps.yaml @@ -3,8 +3,6 @@ name: Dependabot on: pull_request: - branches: - - "release-v1.*" permissions: contents: write @@ -31,7 +29,7 @@ jobs: - name: Generate files working-directory: ./src/github.com/${{ github.repository }} - run: ./hack/update-deps.sh + run: make generate-release - name: git push working-directory: ./src/github.com/${{ github.repository }} @@ -41,6 +39,6 @@ jobs: git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add . - git commit -m "Run generate release" + git commit -m "Run make generate-release" git push fi