Exclude dependabot from ChangeLog [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-12-25 22:58:14 +09:00
parent 4374236e95
commit 606f7540ee
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -693,6 +693,9 @@ class VCS
cmd_pipe(env, cmd, chdir: @srcdir) do |r|
while s = r.gets("\ncommit ")
h, s = s.split(/^$/, 2)
next if /^Author: *dependabot\[bot\]/ =~ h
h.gsub!(/^(?:(?:Author|Commit)(?:Date)?|Date): /, ' \&')
if s.sub!(/\nNotes \(log-fix\):\n((?: +.*\n)+)/, '')
fix = $1