github/workflows: init renovatebot

This commit is contained in:
ohdearaugustin committed 2022-02-19 19:49:12 +01:00
1 parent 7d5e6d3f0f
commit 3db88d27de
2 files changed
+33

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
---
name: Renovate
on:
schedule:
- cron: '* * 5,20 * *' #Every 5th and 20th of the month
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Get token
id: get_token
uses: machine-learning-apps/actions-app-token@master
with:
APP_PEM: ${{ secrets.RENOVATEBOT_SECRET }}
APP_ID: ${{ secrets.RENOVATEBOT_APP_ID }}
- name: Checkout
uses: actions/checkout@v2.0.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@v31.81.2
with:
configurationFile: .github/renovate.json
token: 'x-access-token:${{ steps.get_token.outputs.app_token }}'
onboarding: false