Skip to content

Commit 479f526

Browse files
authored
Merge pull request #11 from octo/renovate
ci: Add Renovate config.
2 parents 2f2c74c + ce1c8a2 commit 479f526

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
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+
}

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ language: go
22

33
go:
44
- "master"
5-
- "1.10"
6-
- "1.9"
5+
- "1.24"
6+
- "1.23"

0 commit comments

Comments
 (0)