Skip to content

Commit

Permalink
fix: match patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoichi206 committed Jun 6, 2024
1 parent 7339533 commit bc3f801
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
rebaseWhen: "auto",
packageRules: [
{
matchFileNames: ["go.mod", "go.sum"],
matchManagers: ["gomod"],
matchDepTypes: ["indirect"],
enabled: true,
// https://docs.renovatebot.com/semantic-commits/#changing-the-semantic-commit-type
// PR の prefix に使われる。
extends: [":semanticCommitTypeAll(ci)"],
Expand All @@ -14,12 +16,6 @@
// branch 名に使われる。
groupSlug: "go-mod-updates",
},
{
matchFileNames: ["!go.mod", "!go.sum"],
extends: [":semanticCommitTypeAll(ci)"],
groupName: "updates other than go",
groupSlug: "other-updates",
},
],
postUpdateOptions: ["gomodTidy"],
constraints: {
Expand Down

0 comments on commit bc3f801

Please sign in to comment.