Skip to content

Commit 5a91377

Browse files
committed
ci: Add Renovate config.
1 parent 8f54f48 commit 5a91377

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/renovate.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Renovate
2+
on:
3+
schedule:
4+
# Run every Monday at 2:00 AM
5+
- cron: '0 2 * * 1'
6+
workflow_dispatch: # Allow manual triggering
7+
8+
jobs:
9+
renovate:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Self-hosted Renovate
16+
uses: renovatebot/github-action@v39.0.5
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
configurationFile: .renovate.json
20+
env:
21+
LOG_LEVEL: 'debug'

.renovate.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"schedule": ["before 5am on monday"],
7+
"golang": {
8+
"enabled": true
9+
},
10+
"postUpdateOptions": ["gomodTidy"],
11+
"automerge": false,
12+
"prHourlyLimit": 0,
13+
"prConcurrentLimit": 0
14+
}

0 commit comments

Comments
 (0)