Add renovate (#24)

Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
Henrique Santos 2023-09-21 16:03:44 +01:00 committed by GitHub
parent 4e8514df00
commit d025012733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

20
.github/renovate.json vendored Normal file
View file

@ -0,0 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"prHourlyLimit": 10,
"labels": [
"renovate"
],
"repositories": [
"stackitcloud/terraform-provider-stackit"
],
"enabledManagers": [
"gomod",
"github-actions"
],
"postUpgradeOptions": [
"gomodTidy"
]
}

19
.github/workflows/renovate.yaml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Renovate
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Self-hosted Renovate
uses: renovatebot/github-action@v39.0.5
with:
configurationFile: .github/renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}