From e08e6daa566f4f2378b6291e12d88072c76cdc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jasmin=20M=C3=BCller?= Date: Mon, 1 Jul 2024 16:22:48 +0200 Subject: [PATCH] feat(renovate): setup INPRO-2249 --- .github/renovate-bot.json5 | 7 ++++++ .github/renovate.json5 | 8 +++++++ .github/workflows/renovate.yaml | 41 +++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 .github/renovate-bot.json5 create mode 100644 .github/renovate.json5 create mode 100644 .github/workflows/renovate.yaml diff --git a/.github/renovate-bot.json5 b/.github/renovate-bot.json5 new file mode 100644 index 0000000..cf0c46c --- /dev/null +++ b/.github/renovate-bot.json5 @@ -0,0 +1,7 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + platform: "github", + username: "strg-public-bot[bot]", + gitAuthor: "strg-public-bot <174349635+strg-bot[bot]@users.noreply.github.com>", + repositories: ["strg-at/containers"], +} diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..f8b86d2 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,8 @@ +{ + extends: [ + "github>strg-at/renovate-config:base.json5", + "github>strg-at/renovate-config//github-actions/silent-automerge.json5", + "github>strg-at/renovate-config//pre-commit/silent-automerge.json5", + "github>strg-at/renovate-config//terraform/silent-automerge.json5", + ], +} diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 0000000..da52809 --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -0,0 +1,41 @@ +--- +name: renovate + +on: + workflow_dispatch: + inputs: + dry-run: + description: dry-run + required: false + type: string + default: "false" + log-level: + description: log-level + required: false + type: string + default: info + schedule: + - cron: "0 */3 * * 1-4" + push: + branches: + - main + paths: + - .github/renovate.json5 + - .github/renovate/**.json5 + - .github/workflows/renovate.yaml + +concurrency: + group: renovate + cancel-in-progress: true + +jobs: + renovate: + uses: strg-at/github-workflows/.github/workflows/run-renovate.yaml@c3b65900e045c388e6895d74522317427453fde0 # v1.6.1 + with: + runner: '["ubuntu-latest"]' + configuration-file: .github/renovate-bot.json5 + dry-run: ${{ inputs.dry-run || 'false' }} + log-level: ${{ inputs.log-level || 'info' }} + secrets: + github-app-id: ${{ secrets.STRG_PUBLIC_BOT_GITHUB_APP_ID }} + github-app-key: ${{ secrets.STRG_PUBLIC_BOT_GITHUB_PEM }}