Skip to content

Commit 1a22b06

Browse files
committed
adding renovate
1 parent a2705a7 commit 1a22b06

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

.github/workflows/renovate.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Renovate
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# https://crontab.guru/#0_8,11,14,17_*_*_*
7+
- cron: '0 8,11,14,17 * * *'
8+
9+
concurrency:
10+
group: renovate-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
renovate:
15+
name: Run Renovate
16+
runs-on: ubuntu-slim
17+
timeout-minutes: 30
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Self-hosted Renovate
23+
uses: renovatebot/github-action@v44.2.5
24+
with:
25+
configurationFile: 'renovate-self-hosted.json'
26+
token: '${{ secrets.GH_TOKEN_BOT }}'

renovate-self-hosted.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"branchPrefix": "renovate/",
4+
"onboarding": false,
5+
"platform": "github",
6+
"repositories": ["ory/terraform-provider-orynetwork"],
7+
"requireConfig": "required"
8+
}

renovate.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:best-practices"],
4+
"labels": ["dependencies"],
5+
"packageRules": [
6+
{
7+
"description": "Group all Go module updates",
8+
"matchManagers": ["gomod"],
9+
"groupName": "go modules"
10+
},
11+
{
12+
"description": "Group all GitHub Actions updates",
13+
"matchManagers": ["github-actions"],
14+
"groupName": "github actions"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)