From 347a09454638abcec357d4b484773c6df69d8a81 Mon Sep 17 00:00:00 2001 From: Austin Abro <37223396+AustinAbro321@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:31:38 -0400 Subject: [PATCH] fix: add dependabot and disable renovate features (#2789) Signed-off-by: Austin Abro --- .github/dependabot.yaml | 18 ++++++++++++++++++ renovate.json | 41 ++--------------------------------------- 2 files changed, 20 insertions(+), 39 deletions(-) create mode 100644 .github/dependabot.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000000..7465f35a07 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,18 @@ +version: 2 +updates: + - package-ecosystem: gomod + directory: / + schedule: + interval: daily + - package-ecosystem: github-actions + directory: / + schedule: + interval: daily + - package-ecosystem: npm + directory: / + schedule: + interval: daily + - package-ecosystem: cargo + directory: / + schedule: + interval: daily diff --git a/renovate.json b/renovate.json index 91e8dd55b0..40b519c928 100644 --- a/renovate.json +++ b/renovate.json @@ -3,41 +3,14 @@ "config:base", "group:allNonMajor" ], - "ignoreDeps": [ - "sigs.k8s.io/kustomize/kyaml" - ], - "ignorePaths": [ - "**/node_modules/**", - "**/bower_components/**", - "**/vendor/**", - "**/__tests__/**", - "**/test/**", - "**/tests/**", - "**/__fixtures__/**" - ], "packageRules": [ { - "matchUpdateTypes": [ - "patch", - "pin", - "digest" - ], - "automerge": true, - "automergeType": "pr" - }, - { - "matchDepTypes": [ - "devDependencies" - ], - "automerge": true, - "automergeType": "pr" + "matchManagers": ["gomod","npm","github-actions", "cargo"], + "enabled": false } ], "platformAutomerge": true, "platformCommit": true, - "postUpdateOptions": [ - "gomodTidy" - ], "regexManagers": [ { "fileMatch": [ @@ -82,16 +55,6 @@ "https:\\/\\/github.com\\/(?[\\w\\/\\-\\.\\+\\%]+?)\\/releases\\/download\\/(?[\\w\\/\\-\\.\\+\\%]+?)\\/" ], "datasourceTemplate": "github-releases" - }, - { - "fileMatch": [ - "\\.*\\.ya?ml$" - ], - "matchStrings": [ - "# renovate: datasource=github-tags depName=anchore/grype versioning=semver\n\\s*VERSION: (?v[\\d.]+)" - ], - "datasourceTemplate": "github-tags", - "depNameTemplate": "anchore/grype" } ] }