github/workflows: init renovatebot

This commit is contained in:
ohdearaugustin 2022-02-14 22:58:01 +01:00
parent 7d5e6d3f0f
commit 3db88d27de
2 changed files with 33 additions and 0 deletions

7
.github/renovate.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"extends": ["config:base"]",
"baseBranches": ["main"],
"branchPrefix": "renovateaction",
"extends": ["config:base", ":rebaseStalePrs"],
"enabledManagers": ["dockerfile", "go", "github-actions"]
}

26
.github/workflows/renovatebot.yml vendored Normal file
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