From b87903a4279bd2767b99595c147a50e696a3468b Mon Sep 17 00:00:00 2001 From: WaffiqA Date: Thu, 31 Oct 2024 09:15:08 +0700 Subject: [PATCH] Test renovated bot --- .github/workflows/unit_testing.yml | 3 +++ renovate.json | 42 +++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit_testing.yml b/.github/workflows/unit_testing.yml index bc10b4e..30a3134 100644 --- a/.github/workflows/unit_testing.yml +++ b/.github/workflows/unit_testing.yml @@ -1,6 +1,9 @@ name: Unit Testing on: + push: + paths-ignore: + - 'README.md' pull_request: paths-ignore: - 'README.md' diff --git a/renovate.json b/renovate.json index afdf749..cbc8e7e 100644 --- a/renovate.json +++ b/renovate.json @@ -3,9 +3,6 @@ "extends": [ "config:base" ], - "baseBranches": [ - "master" - ], "assignees": [ "waffiqaziz" ], @@ -38,6 +35,43 @@ "maven" ], "allowedVersions": "!/SNAPSHOT$/" + }, + { + "updateTypes": [ + "major", + "minor" + ], + "automerge": false + }, + { + "updateTypes": [ + "patch" + ], + "automerge": true + }, + { + "matchDatasources": [ + "gradle" + ], + "enabled": true + } + ], + "ignorePresets": [ + "npm:unpublishable" + ], + "pathRules": [ + { + "matchPaths": [ + "gradle/libs.versions.toml" + ], + "enabled": true + } + ], + "branchRules": [ + { + "matchBranchName": "renovate/configure", + "enabled": true, + "prCreation": "not-pending" } ] -} \ No newline at end of file +}