diff --git a/.github/actions/sync/shared-config.rb b/.github/actions/sync/shared-config.rb index 8bf12573..7dd4d1e3 100755 --- a/.github/actions/sync/shared-config.rb +++ b/.github/actions/sync/shared-config.rb @@ -44,7 +44,7 @@ def git(*args) homebrew_repository_path/"Library/#{rubocop_yaml}", permitted_classes: [Symbol, Regexp], ) -homebrew_rubocop_config_yaml["AllCops"]["Exclude"] << "vendor/**/*" +homebrew_rubocop_config_yaml["AllCops"]["Exclude"] << "**/vendor/**/*" homebrew_rubocop_config = homebrew_rubocop_config_yaml.reject do |key, _| key.match?(%r{\Arequire|inherit_from|inherit_mode|Cask/|Formula|Homebrew|Performance/|RSpec|Sorbet/}) end.to_yaml