Exclude dependabot from ChangeLog [ci skip]
This commit is contained in:
parent
4374236e95
commit
606f7540ee
@ -693,6 +693,9 @@ class VCS
|
|||||||
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
|
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
|
||||||
while s = r.gets("\ncommit ")
|
while s = r.gets("\ncommit ")
|
||||||
h, s = s.split(/^$/, 2)
|
h, s = s.split(/^$/, 2)
|
||||||
|
|
||||||
|
next if /^Author: *dependabot\[bot\]/ =~ h
|
||||||
|
|
||||||
h.gsub!(/^(?:(?:Author|Commit)(?:Date)?|Date): /, ' \&')
|
h.gsub!(/^(?:(?:Author|Commit)(?:Date)?|Date): /, ' \&')
|
||||||
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')
|
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')
|
||||||
fix = $1
|
fix = $1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user