From 4853303b4f6d6730a62276545f4438ee325177cd Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Fri, 9 Feb 2024 17:02:35 +0000 Subject: [PATCH 1/2] Add renovate pipeline --- .github/renovate.json | 15 +++++++++++++++ .github/workflows/renovate.yaml | 19 +++++++++++++++++++ 2 files changed, 34 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 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..c384b4af3 --- /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@v39.2.4 + with: + configurationFile: .github/renovate.json + token: ${{ secrets.RENOVATE_TOKEN }} From a2d9531d34f61e77a8dca1f5b3d16450c5e70891 Mon Sep 17 00:00:00 2001 From: vicentepinto98 Date: Mon, 12 Feb 2024 09:25:38 +0000 Subject: [PATCH 2/2] Update action --- .github/workflows/renovate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index c384b4af3..1b5a05e68 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -13,7 +13,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Self-hosted Renovate - uses: renovatebot/github-action@v39.2.4 + uses: renovatebot/github-action@v40.0.3 with: configurationFile: .github/renovate.json token: ${{ secrets.RENOVATE_TOKEN }}