From 288320a176b249b6012c83c55d04763af08fac07 Mon Sep 17 00:00:00 2001 From: cubicroot Date: Mon, 21 Oct 2024 18:58:18 +0200 Subject: [PATCH] add a renovate workflow --- .github/workflows/renovate.yaml | 26 ++++++++++++++++++++++++++ .github/workflows/renovate_test.yaml | 7 +++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/renovate.yaml create mode 100644 .github/workflows/renovate_test.yaml diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 0000000..fc90f41 --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -0,0 +1,26 @@ +on: + workflow_call: + inputs: + author: + required: false + type: string + default: "Renovate " + secrets: + token: + required: true + +jobs: + renovate: + name: Renovate + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Run Renovate + uses: docker://renovate/renovate:latest + env: + RENOVATE_REPOSITORIES: ${{ github.repository }} + RENOVATE_TOKEN: ${{ secrets.token }} + RENOVATE_AUTOMERGE: "false" + RENOVATE_ONBOARDING: "false" + RENOVATE_GIT_AUTHOR: "${{ inputs.author }}" \ No newline at end of file diff --git a/.github/workflows/renovate_test.yaml b/.github/workflows/renovate_test.yaml new file mode 100644 index 0000000..5258051 --- /dev/null +++ b/.github/workflows/renovate_test.yaml @@ -0,0 +1,7 @@ +on: push + +jobs: + renovate_test: + uses: ./.github/workflows/renovate.yaml + secrets: + token: "${{ secrets.RENOVATE_TOKEN }}" \ No newline at end of file