From d94c6b8f73a1f301a20a9d1cd61e8094a05d29ae Mon Sep 17 00:00:00 2001 From: Adam Ruberti Date: Wed, 5 Jun 2024 10:07:28 +0200 Subject: [PATCH 1/3] ci: update renovate configuration to support pre-commit --- renovate.json | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/renovate.json b/renovate.json index 332e0cd..8809b34 100644 --- a/renovate.json +++ b/renovate.json @@ -1,21 +1,22 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base", + "config:recommended", + ":disableDependencyDashboard", ":prNotPending", ":rebaseStalePrs", - ":semanticCommits" + ":semanticCommits", + ":enablePreCommit" ], "branchConcurrentLimit": 1, "packageRules": [ { - "matchManagers": ["maven"], - "allowedVersions": "!/-jboss-|-redhat-|redhat-|-jenkins-|-patch-|-atlassian-|-NODEP$|-atlassian$|-jbossorg-|-SNAPSHOT$|-PFD-|-jbossas-|-does-not-exist|-tc$|-jahia1$/" - }, - { - "matchManagers": ["maven"], - "matchDepTypes": ["provided", "runtime"], - "enabled": false + "matchManagers": [ + "pre-commit" + ], + "automerge": true, + "automergeType": "branch", + "ignoreTests": true } ] } From 5d6e8d26e5d722919a2cf1fda296e446a05ec78e Mon Sep 17 00:00:00 2001 From: Adam Ruberti Date: Wed, 5 Jun 2024 10:16:22 +0200 Subject: [PATCH 2/3] chore: remove obsolete configurations --- renovate.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/renovate.json b/renovate.json index 8809b34..c5c4b0f 100644 --- a/renovate.json +++ b/renovate.json @@ -2,9 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended", - ":disableDependencyDashboard", ":prNotPending", - ":rebaseStalePrs", ":semanticCommits", ":enablePreCommit" ], From 797efcde3edc1c81d4c8cb219cfcdc1759591bac Mon Sep 17 00:00:00 2001 From: Adam Ruberti Date: Wed, 5 Jun 2024 10:36:25 +0200 Subject: [PATCH 3/3] ci: fix triggering for push branches --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0fef16..4e9f8c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: Build & Release on: push: - branches: ['*'] + branches: ['**/**'] pull_request: branches: [main] permissions: