Skip to content

Commit

Permalink
Merge pull request #800 from jbw976/renovate-commands
Browse files Browse the repository at this point in the history
chore: Renovate should run earthly commands for newer release branches
  • Loading branch information
jbw976 authored Dec 22, 2024
2 parents 197fb2a + 8273d64 commit 0eae57e
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@
"matchDatasources": [
"go"
],
// Currently we only have an Earthfile on main.
matchBaseBranches: ["main"],
// Currently we only have an Earthfile on main and some release branches, so we ignore the ones we know don't have it.
matchBaseBranches: [
'!/release-1\.16/',
],
postUpgradeTasks: {
// Post-upgrade tasks that are executed before a commit is made by Renovate.
"commands": [
Expand All @@ -121,8 +123,10 @@
"matchDatasources": [
"go"
],
// Currently we only have an Earthfile on main.
matchBaseBranches: ["release-.+"],
// Currently we only have an Earthfile on main and some release branches, so we only run this on older release branches.
matchBaseBranches: [
'release-1.16',
],
postUpgradeTasks: {
// Post-upgrade tasks that are executed before a commit is made by Renovate.
"commands": [
Expand All @@ -139,8 +143,10 @@
"matchDepNames": [
"golangci/golangci-lint"
],
// Currently we only have an Earthfile on main.
matchBaseBranches: ["main"],
// Currently we only have an Earthfile on main and some release branches, so we ignore the ones we know don't have it.
matchBaseBranches: [
'!/release-1\.16/',
],
postUpgradeTasks: {
// Post-upgrade tasks that are executed before a commit is made by Renovate.
"commands": [
Expand All @@ -157,8 +163,10 @@
"matchDepNames": [
"golangci/golangci-lint"
],
// Currently we only have an Earthfile on main.
matchBaseBranches: ["release-.+"],
// Currently we only have an Earthfile on main and some release branches, so we only run this on older release branches.
matchBaseBranches: [
'release-1.16',
],
postUpgradeTasks: {
// Post-upgrade tasks that are executed before a commit is made by Renovate.
"commands": [
Expand Down

0 comments on commit 0eae57e

Please sign in to comment.