diff --git a/.github/actions/sync/shared-config.rb b/.github/actions/sync/shared-config.rb index a18b394d..b6b4992e 100755 --- a/.github/actions/sync/shared-config.rb +++ b/.github/actions/sync/shared-config.rb @@ -67,6 +67,7 @@ def git(*args) custom_ruby_version_repos = %w[ mass-bottling-tracker-private + ruby-macho ].freeze custom_rubocop_repos = %w[ ci-orchestrator @@ -174,7 +175,7 @@ def git(*args) end # Update Gemfile.lock if it exists, based on the Ruby version. -if (target_directory_path/"Gemfile.lock").exist? +if !custom_ruby_version_repos.include?(repository_name) && (target_directory_path/"Gemfile.lock").exist? Dir.chdir target_directory_path do puts "Running bundle install..." system "bundle update --ruby --bundler --quiet >/dev/null"