From a73132843f291cd29b16895af479ed3d9592f907 Mon Sep 17 00:00:00 2001 From: Manuel Ruwe Date: Sun, 25 Dec 2022 23:11:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Add=20renovate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/renovate-config.js | 26 ++++++++++++++++++++++++++ .github/workflows/renovate.yml | 17 +++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 .github/renovate-config.js create mode 100644 .github/workflows/renovate.yml diff --git a/.github/renovate-config.js b/.github/renovate-config.js new file mode 100644 index 0000000..8b2ff78 --- /dev/null +++ b/.github/renovate-config.js @@ -0,0 +1,26 @@ +module.exports = { + branchPrefix: 'renovate/', + username: 'renovate-release', + gitAuthor: 'Renovate Bot ', + onboarding: true, + platform: 'github', + includeForks: false, + repositories: [ + 'manuel-rw/jellyfin-discord-music-bot', + ], + packageRules: [ + { + description: 'lockFileMaintenance', + matchUpdateTypes: [ + 'pin', + 'digest', + 'patch', + 'minor', + 'major', + 'lockFileMaintenance', + ], + dependencyDashboardApproval: false, + stabilityDays: 0, + }, + ], +}; \ No newline at end of file diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..b9613f7 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,17 @@ +on: + schedule: + - cron: "0 8 * * *" + workflow_dispatch: +name: Renovate Daily Job +jobs: + renovate: + name: Renovate + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Self-hosted Renovate + uses: renovatebot/github-action@v32.238.4 + with: + configurationFile: .github/renovate-config.js + token: ${{ secrets.RENOVATE_TOKEN }}