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 }}