diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-01 18:38:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-03 10:49:38 +0900 |
commit | 668c97b72c8aeead20978d287073b5526887f709 (patch) | |
tree | 357eec02db85d95ab0e089c3e9be0a7720878ba7 /tool/sync_default_gems.rb | |
parent | 3df764721a6a988116982a5a9af80486ad801e3d (diff) | |
download | ruby-668c97b72c8aeead20978d287073b5526887f709.tar.gz |
[sync_default_gems.rb] Ignore files under .github directory
[ci skip]
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r-- | tool/sync_default_gems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 6072a82e0b..56f3fc0163 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -326,7 +326,7 @@ def sync_default_gems(gem) end end -IGNORE_FILE_PATTERN = /(\.travis.yml|appveyor\.yml|azure\-pipelines\.yml|\.gitignore|Gemfile|README\.md|History\.txt|Rakefile|CODE_OF_CONDUCT\.md)/ +IGNORE_FILE_PATTERN = /\A(?:\.travis.yml|appveyor\.yml|azure\-pipelines\.yml|\.git(?:ignore|hub)|Gemfile|README\.md|History\.txt|Rakefile|CODE_OF_CONDUCT\.md)/ def sync_default_gems_with_commits(gem, range) puts "Sync #{$repositories[gem.to_sym]} with commit history." |