From 606f7540eec509ddac3bf56accee95981eb29f92 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 25 Dec 2023 22:58:14 +0900 Subject: [PATCH] Exclude dependabot from ChangeLog [ci skip] --- tool/lib/vcs.rb | 3 +++ 1 file changed, 3 insertions(+) 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