Skip to content

Commit 8ecde2d

Browse files
authored
ci: use renovate github action (#1009)
1 parent a4734a1 commit 8ecde2d

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/renovate.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Renovate
2+
on:
3+
schedule:
4+
- cron: "0 * * * *"
5+
workflow_dispatch:
6+
jobs:
7+
renovate:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v6
12+
with:
13+
fetch-depth: 0
14+
- name: Run Renovate
15+
uses: renovatebot/github-action@v46.1.10
16+
with:
17+
token: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
18+
configurationFile: renovate.json
19+
env:
20+
RENOVATE_REPOSITORIES: floatpane/matcha

renovate.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
"postUpdateOptions": ["gomodTidy"],
55
"packageRules": [
66
{
7+
"matchManagers": ["gomod"],
78
"matchDepNames": ["go"],
8-
"groupName": "go",
99
"rangeStrategy": "bump"
10+
},
11+
{
12+
"matchManagers": ["github-actions"],
13+
"matchDepNames": ["go"],
14+
"groupName": "go"
1015
}
1116
]
1217
}

0 commit comments

Comments
 (0)