summaryrefslogtreecommitdiff
path: root/tool/lib
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-25 22:58:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-12-28 15:01:24 +0900
commit606f7540eec509ddac3bf56accee95981eb29f92 (patch)
tree0b6fd7dac63504e95ff6825e1a02be00b1c4564c /tool/lib
parent4374236e959c1e585611acfc7a2e3d2142265ab0 (diff)
Exclude dependabot from ChangeLog [ci skip]
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/vcs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index ace60f8f8e..872d656e75 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -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