From fd95c3c91d9fe7e2f55d7a827ac21d164da934c6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 23 Aug 2024 16:51:56 +0100 Subject: [PATCH] actions/sync/shared-config: use a wider vendor wildcard. --- .github/actions/sync/shared-config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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