🚀 Add renovate

This commit is contained in:
Manuel Ruwe 2022-12-25 23:11:20 +01:00
parent 9f02a6058e
commit a73132843f
2 changed files with 43 additions and 0 deletions

26
.github/renovate-config.js vendored Normal file
View File

@ -0,0 +1,26 @@
module.exports = {
branchPrefix: 'renovate/',
username: 'renovate-release',
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
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,
},
],
};

17
.github/workflows/renovate.yml vendored Normal file
View File

@ -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 }}