diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1094e71..c85c215 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,4 +13,13 @@ jobs: with: java-version: 1.8 - name: Build - run: ./gradlew build \ No newline at end of file + run: ./gradlew build + + renovate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: 🧼 lint renovate config # Validates changes to renovate.json config file + uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.2 + with: + config_file_path: 'renovate.json' \ No newline at end of file diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..3279147 --- /dev/null +++ b/renovate.json @@ -0,0 +1,40 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + ":rebaseStalePrs", + "schedule:weekly" + ], + "enabledManagers": [ + "github-actions", + "gradle", + "gradle-wrapper" + ], + "packageRules": [ + { + "matchUpdateTypes": [ + "minor", + "patch" + ], + "groupName": "Minor Updates", + "labels": [ + "minor" + ] + }, + { + "matchUpdateTypes": [ + "major" + ], + "groupName": "Major Updates", + "labels": [ + "major" + ] + }, + { + "matchManagers": [ + "github-actions" + ], + "groupName": "GitHub Actions" + } + ] +} \ No newline at end of file