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