Skip to content

Commit

Permalink
chore: add regex to detect go run/install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tessig committed Mar 24, 2023
1 parent b5f6803 commit fdbd591
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,15 @@
"extends": [
"config:base",
":semanticCommitTypeAll(chore)"
],
"regexManagers": [
{
"description": "Update go run/go install dependencies",
"fileMatch": [".*\\.go$", "Makefile"],
"matchStrings": [
"\\s*go (run|install) (?<depName>([^@]+)?).*@(?<currentValue>[^\\s]+)"
],
"datasourceTemplate": "go"
}
]
}

0 comments on commit fdbd591

Please sign in to comment.