Skip to content

Commit

Permalink
sync/shared-config: don't try to git rm if workflow doesn't exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jul 14, 2024
1 parent e47ae5d commit 0b82353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/sync/shared-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b82353

Please sign in to comment.