diff --git a/.github/actions/sync/shared-config.rb b/.github/actions/sync/shared-config.rb index 07e81117..606ca7ab 100755 --- a/.github/actions/sync/shared-config.rb +++ b/.github/actions/sync/shared-config.rb @@ -183,6 +183,8 @@ def git(*args) "#{dependabot_config}\n", ) when deprecated_lock_threads + next unless target_path.exist? + git "-C", target_directory, "rm", path else next if path == target_path.to_s