Skip to content

Commit

Permalink
Merge pull request #151 from Homebrew/remove_lock_threads
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jul 14, 2024
2 parents 049eb72 + 6f9ec34 commit 6b26275
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/sync/shared-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def git(*args)
README.md
].freeze

deprecated_lock_threads = ".github/workflows/lock-threads.yml"

puts "Detecting changes…"
[
docs,
Expand All @@ -104,6 +106,7 @@ def git(*args)
ruby_version,
rubocop_yaml,
dependabot_yaml,
deprecated_lock_threads,
".github/workflows/stale-issues.yml",
].each do |path|
target_path = target_directory_path/path
Expand Down Expand Up @@ -179,6 +182,8 @@ def git(*args)
"# This file is synced from the `.github` repository, do not modify it directly.\n" \
"#{dependabot_config}\n",
)
when deprecated_lock_threads
FileUtils.rm_f target_path
else
next if path == target_path.to_s

Expand Down

0 comments on commit 6b26275

Please sign in to comment.