We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfab22f commit b3648a3Copy full SHA for b3648a3
1 file changed
src/dependabot/update_metadata.ts
@@ -32,7 +32,7 @@ export async function parse (commitMessage: string, body: string, branchName: st
32
const bumpFragment = commitMessage.match(/^Bumps .* from (?<from>v?\d[^ ]*) to (?<to>v?\d[^ ]*)\.$/m)
33
const updateFragment = commitMessage.match(/^Update .* requirement from \S*? ?(?<from>v?\d\S*) to \S*? ?(?<to>v?\d\S*)$/m)
34
const yamlFragment = commitMessage.match(/^-{3}\n(?<dependencies>[\S|\s]*?)\n^\.{3}\n/m)
35
- const groupName = body.match(/^Bumps the (?<name>\S*) group with/m)
+ const groupName = commitMessage.match(/^Bumps the (?<name>\S*) group with/m)
36
const newMaintainer = !!body.match(/Maintainer changes/m)
37
const lookupFn = lookup ?? (() => Promise.resolve({ alertState: '', ghsaId: '', cvss: 0 }))
38
const scoreFn = getScore ?? (() => Promise.resolve(0))
0 commit comments