diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000..31621a1ba --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "prHourlyLimit": 10, + "labels": ["renovate"], + "repositories": ["stackitcloud/stackit-cli"], + "enabledManagers": ["gomod", "github-actions"], + "packageRules": [ + { + "matchSourceUrls": ["https://github.com/stackitcloud/stackit-sdk-go"], + "groupName": "STACKIT SDK modules" + } + ], + "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"] +} diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 000000000..1b5a05e68 --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -0,0 +1,19 @@ +name: Renovate + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + renovate: + name: Renovate + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v40.0.3 + with: + configurationFile: .github/renovate.json + token: ${{ secrets.RENOVATE_TOKEN }}