Add auto-cancel for pending pipelines on branch, if they are not HEAD
Compare changes
@@ -21,6 +21,12 @@ def execute_service(after: project.commit.id, message: 'Message', ref: 'refs/hea
@@ -21,6 +21,12 @@ def execute_service(after: project.commit.id, message: 'Message', ref: 'refs/hea
@@ -29,20 +35,10 @@ def execute_service(after: project.commit.id, message: 'Message', ref: 'refs/hea
@@ -29,20 +35,10 @@ def execute_service(after: project.commit.id, message: 'Message', ref: 'refs/hea
@@ -81,6 +77,24 @@ def previous_commit_sha_from_ref(ref)
@@ -81,6 +77,24 @@ def previous_commit_sha_from_ref(ref)