From 804fe2292f97bbda032facfe4f5da59b2f60efbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Thu, 11 Aug 2022 20:17:12 +0200 Subject: [PATCH] ci: Configure Renovate --- .github/renovate.json5 | 10 +++++++ .github/workflows/schedule-renovate.yaml | 37 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/renovate.json5 create mode 100644 .github/workflows/schedule-renovate.yaml diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 00000000..001b9e79 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,10 @@ +{ + extends: [ + "github>bjw-s/renovate-config", + "github>bjw-s/renovate-config:automerge-github-actions", + ], + platform: "github", + username: "bjw-s-bot[bot]", + gitAuthor: "bjw-s-bot <87358111+bjw-s-bot[bot]@users.noreply.github.com>", + repositories: ["bjw-s/helm-charts"], +} diff --git a/.github/workflows/schedule-renovate.yaml b/.github/workflows/schedule-renovate.yaml new file mode 100644 index 00000000..72f4594d --- /dev/null +++ b/.github/workflows/schedule-renovate.yaml @@ -0,0 +1,37 @@ +--- +name: Schedule - Renovate + +on: + workflow_dispatch: + inputs: + dryRun: + description: "Dry-Run" + default: false + required: false + type: boolean + logLevel: + description: "Log-Level" + default: "debug" + required: false + schedule: + - cron: "0 * * * *" + push: + branches: + - main + paths: + - ".github/renovate.json5" + - ".github/renovate/**.json" + - ".github/renovate/**.json5" + - ".github/workflows/schedule-renovate.yaml" + +jobs: + renovate: + name: Renovate + uses: bjw-s/gh-workflows/.github/workflows/run-renovate.yaml@main + with: + configurationFile: ".github/renovate.json5" + dryRun: ${{ inputs.dryRun || 'false' }} + renovateLogLevel: ${{ inputs.logLevel || 'debug' }} + secrets: + app_id: ${{ secrets.BJWS_APP_ID }} + app_private_key: ${{ secrets.BJWS_APP_PRIVATE_KEY }}