diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 00000000..a715ca0c --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "prHourlyLimit": 10, + "labels": [ + "renovate" + ], + "repositories": [ + "stackitcloud/terraform-provider-stackit" + ], + "enabledManagers": [ + "gomod", + "github-actions" + ], + "postUpgradeOptions": [ + "gomodTidy" + ] +} \ No newline at end of file diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 00000000..55bace6f --- /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@v3 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v39.0.5 + with: + configurationFile: .github/renovate.json + token: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file