diff options
Diffstat (limited to 'app/models/ci/pipeline.rb')
| -rw-r--r-- | app/models/ci/pipeline.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index 7c4da0bc01e..a1db808feb5 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -325,12 +325,6 @@ module Ci end end - after_transition running: ::Ci::Pipeline.completed_statuses + [:manual] do |pipeline| - pipeline.run_after_commit do - ::Ci::UnlockRefArtifactsOnPipelineStopWorker.perform_async(pipeline.id) - end - end - after_transition any => [:success, :failed] do |pipeline| ref_status = pipeline.ci_ref&.update_status_by!(pipeline) |
