Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Dec 13, 2024
1 parent 7646d5e commit 809bdfb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions process_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1674,13 +1674,6 @@ def process_pr(repo_config, gh, repo, issue, dryRun, cmsbuild_user=None, force=F

print("Processing commits")

if not pull_request_updated:
_bot_cache_shas = set(bot_cache["commits"].keys())
diff = all_commit_shas.difference(_bot_cache_shas)
if diff:
print("Setting pull-request-update to True:", len(diff), "new commit(s)")
pull_request_updated = True

# Make sure to mark squashed=False if a cached/squashed commit is added back
for commit_sha in [
sha
Expand Down

0 comments on commit 809bdfb

Please sign in to comment.