Skip to content

Commit 0c87e6d

Browse files
Add renovate pipeline (#83)
1 parent f12b6eb commit 0c87e6d

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/renovate.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended"],
4+
"prHourlyLimit": 10,
5+
"labels": ["renovate"],
6+
"repositories": ["stackitcloud/stackit-cli"],
7+
"enabledManagers": ["gomod", "github-actions"],
8+
"packageRules": [
9+
{
10+
"matchSourceUrls": ["https://github.com/stackitcloud/stackit-sdk-go"],
11+
"groupName": "STACKIT SDK modules"
12+
}
13+
],
14+
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"]
15+
}

.github/workflows/renovate.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Renovate
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
renovate:
10+
name: Renovate
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Self-hosted Renovate
16+
uses: renovatebot/[email protected]
17+
with:
18+
configurationFile: .github/renovate.json
19+
token: ${{ secrets.RENOVATE_TOKEN }}

0 commit comments

Comments
 (0)