Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Renovate

on:
workflow_dispatch:
schedule:
# https://crontab.guru/#0_8,11,14,17_*_*_*
- cron: '0 8,11,14,17 * * *'

concurrency:
group: renovate-${{ github.ref }}
cancel-in-progress: true

jobs:
renovate:
name: Run Renovate
runs-on: ubuntu-slim
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Self-hosted Renovate
uses: renovatebot/github-action@v44.2.5
with:
configurationFile: 'renovate-self-hosted.json'
token: '${{ secrets.GH_TOKEN_BOT }}'
8 changes: 8 additions & 0 deletions renovate-self-hosted.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"branchPrefix": "renovate/",
"onboarding": false,
"platform": "github",
"repositories": ["ory/terraform-provider-orynetwork"],
"requireConfig": "required"
}
17 changes: 17 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices"],
"labels": ["dependencies"],
"packageRules": [
{
"description": "Group all Go module updates",
"matchManagers": ["gomod"],
"groupName": "go modules"
},
{
"description": "Group all GitHub Actions updates",
"matchManagers": ["github-actions"],
"groupName": "github actions"
}
]
}