Skip to content

Commit

Permalink
ci: renovate should maintain github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavkj committed Nov 3, 2023
1 parent b073e56 commit 3600ba0
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"enabledManagers": [
"github-actions",
"gomod"
],
"semanticCommitType": "dep",
Expand All @@ -14,6 +15,37 @@
"minimumReleaseAge": "3 days",
"packageRules": [
{
"description": "Update non-major Github Actions releases monthly in group",
"groupName": "all non-major Github Actions",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"minor",
"patch",
"pin",
"pinDigest",
"digest"
],
"schedule": [
"on the first day of the month also on the 2nd day of the month before 5pm"
]
},
{
"description": "Require an approval for major Github Actions releases",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"major"
],
"dependencyDashboardApproval": true
},
{
"description": "Update non-major Go modules releases monthly and merge automatically",
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"minor",
"patch",
Expand All @@ -26,6 +58,10 @@
]
},
{
"description": "Update major Go modules releases monthly",
"matchManagers": [
"gomod"
],
"matchUpdateTypes": [
"major"
],
Expand All @@ -40,6 +76,10 @@
"gomodUpdateImportPaths",
"gomodTidy"
],
"github-actions": {
"enabled": true,
"pinDigests": true
},
"gomod": {
"enabled": true
}
Expand Down

0 comments on commit 3600ba0

Please sign in to comment.