From d0250127335aebd0c19d662393a7c250624dc10c Mon Sep 17 00:00:00 2001 From: Henrique Santos <118177985+hcsa73@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:03:44 +0100 Subject: [PATCH] Add renovate (#24) Co-authored-by: Henrique Santos --- .github/renovate.json | 20 ++++++++++++++++++++ .github/workflows/renovate.yaml | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/renovate.json create mode 100644 .github/workflows/renovate.yaml 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