From 627df0ea9fd3b57d4a9c61708b214317622d6c07 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 | 17 +++++++++++++++++ .github/workflows/renovate.yml | 20 ++++++++++++++++++++ 2 files changed, 37 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..71717b514 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,17 @@ +{ + "branchPrefix": "foreman-renovate/", + "dryRun": "full", + "username": "renovate-release", + "gitAuthor": "Renovate Bot ", + "onboarding": false, + "platform": "github", + "includeForks": true, + "repositories": [ + "evgeni/foreman-infra", + ], + "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'