Skip to content

Commit

Permalink
github/workflows: init renovatebot
Browse files Browse the repository at this point in the history
  • Loading branch information
ohdearaugustin committed Feb 19, 2022
1 parent 7d5e6d3 commit 3db88d2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": ["config:base"]",
"baseBranches": ["main"],
"branchPrefix": "renovateaction",
"extends": ["config:base", ":rebaseStalePrs"],
"enabledManagers": ["dockerfile", "go", "github-actions"]
}
26 changes: 26 additions & 0 deletions .github/workflows/renovatebot.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3db88d2

Please sign in to comment.