diff --git a/app/models/pre_prod_release.rb b/app/models/pre_prod_release.rb index 0a8026914..cab9c9fde 100644 --- a/app/models/pre_prod_release.rb +++ b/app/models/pre_prod_release.rb @@ -144,7 +144,7 @@ def previous_successful def new_commit_available? return unless release_platform_run.on_track? - release.last_commit != commit + release.last_applicable_commit != commit end def stamp_data