From 67cde179c5b23f1e8da3cb7554d26c79ed1c3b97 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 7 Aug 2019 22:29:02 +0900 Subject: [PATCH] Skip merge commit created by bundlerbot. --- tool/sync_default_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 33703d0492..379dee4a16 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -252,7 +252,7 @@ def sync_default_gems_with_commits(gem, range) IO.popen(%W"git diff-tree --no-commit-id --name-only -r #{sha}") do |f| files = f.read.split("\n") end - subject =~ /^Merge/ || files.all?{|file| file =~ IGNORE_FILE_PATTERN} + subject =~ /^Merge/ || subject =~ /^Auto Merge/ || files.all?{|file| file =~ IGNORE_FILE_PATTERN} end puts "Try to pick these commits:"