Skip to content

Commit

Permalink
Fix post release open mid-release PR bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nid90 committed Jan 23, 2024
1 parent 4f46f5e commit 75c7d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/libs/triggers/post_release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def call
release.with_lock do
return unless release.post_release_started?

if release.pull_requests.open.exists? || (release.unmerged_commits.exists? && !force_finalize)
if release.pull_requests.automatic.open.exists? || (release.unmerged_commits.exists? && !force_finalize)
release.fail_post_release_phase!
else
release.event_stamp!(reason: :finalizing, kind: :notice, data: {version: release.release_version})
Expand Down

0 comments on commit 75c7d0a

Please sign in to comment.