diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 4e9e840e..8c74c86f 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -117,6 +117,7 @@ jobs: run: ah lint artifacthub-changelog: + if: ${{ !contains(github.event.pull_request.labels.*.name, 'automated-dependencies') }} runs-on: ubuntu-latest steps: - name: Checkout diff --git a/renovate.json b/renovate.json index da705a3e..2bf6a9ec 100644 --- a/renovate.json +++ b/renovate.json @@ -1,9 +1,66 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ], - "dependencyDashboard": true, - "platformCommit": "disabled", - "prHourlyLimit": 0 -} + "$schema":"https://docs.renovatebot.com/renovate-schema.json", + "extends":[ + "mergeConfidence:all-badges", + "config:recommended", + ":disableRateLimiting", + "helpers:pinGitHubActionDigests" + ], + "dependencyDashboard":true, + "platformCommit":"disabled", + "prHourlyLimit":0, + "labels":[ + "automated-dependencies" + ], + "packageRules":[ + { + "matchDatasources":[ + "docker" + ], + "matchPackageNames":[ + "ghcr.io/uselagoon/**", + "uselagoon/**" + ], + "groupName":"Lagoon service images" + }, + { + "matchManagers":[ + "github-actions" + ], + "groupName":"GitHub actions monthly minor/patch", + "matchUpdateTypes":[ + "minor", + "patch", + "digest" + ], + "schedule":[ + "on the first day of the month" + ], + "automerge":true, + "automergeType":"pr" + }, + { + "matchManagers":[ + "github-actions" + ], + "groupName":"GitHub actions major", + "matchUpdateTypes":[ + "major" + ], + "automerge":true, + "automergeType":"pr" + }, + { + "matchDatasources":[ + "docker" + ], + "draftPR":true + }, + { + "matchDatasources":[ + "helm" + ], + "draftPR":true + } + ] +} \ No newline at end of file