From 2d18bf0ed0536fc96265173e44a3c98aa6b91523 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 6 Nov 2023 10:03:16 +0100 Subject: [PATCH] add renovate --- .github/renovate.json | 14 ++++++++++++++ .github/workflows/renovate.yml | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/renovate.json create mode 100644 .github/workflows/renovate.yml diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000..a88d203f9 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,14 @@ +{ + "branchPrefix": "foreman-renovate/", + "dryRun": "full", + "username": "renovate-release", + "gitAuthor": "Renovate Bot ", + "onboarding": false, + "platform": "github", + "includeForks": true, + "packageRules": [ + { + "matchManagers": ["puppet"] + } + ] +} diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 000000000..b20a0e63a --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,20 @@ +name: Renovate + +on: + workflow_dispatch: + schedule: + - cron: '4 4 * * 0' + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v39.1.1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + env: + RENOVATE_REPOSITORIES: ${{ github.repository }} + LOG_LEVEL: 'debug'