Skip to content

Commit ff1dcf4

Browse files
authored
Refactor GitHub Actions package rules in renovate.json
Added schema reference and updated package rules for GitHub Actions.
1 parent 83684f0 commit ff1dcf4

1 file changed

Lines changed: 28 additions & 7 deletions

File tree

renovate.json

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
34
"config:recommended"
45
],
@@ -9,13 +10,6 @@
910
"timezone": "UTC",
1011
"rebaseWhen": "conflicted",
1112
"packageRules": [
12-
{
13-
"matchManagers": [
14-
"github-actions"
15-
],
16-
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)$",
17-
"groupName": "github-actions"
18-
},
1913
{
2014
"matchUpdateTypes": [
2115
"minor",
@@ -35,6 +29,33 @@
3529
"digest"
3630
],
3731
"automerge": false
32+
},
33+
{
34+
"matchManagers": [
35+
"github-actions"
36+
],
37+
"matchUpdateTypes": [
38+
"minor",
39+
"patch",
40+
"digest",
41+
"pinDigest"
42+
],
43+
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)$",
44+
"groupName": "github actions non-major",
45+
"groupSlug": "github-actions-non-major",
46+
"automerge": true
47+
},
48+
{
49+
"matchManagers": [
50+
"github-actions"
51+
],
52+
"matchUpdateTypes": [
53+
"major"
54+
],
55+
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)$",
56+
"groupName": "github actions major",
57+
"groupSlug": "github-actions-major",
58+
"automerge": false
3859
}
3960
]
4061
}

0 commit comments

Comments
 (0)