Skip to content
Snippets Groups Projects

Add auto-cancel for pending pipelines on branch, if they are not HEAD

Compare and
28 files
+ 467
154
Compare changes
  • Side-by-side
  • Inline
Files
28
@@ -114,7 +114,7 @@ def create_params
end
def pipeline
@pipeline ||= project.pipelines.find_by!(id: params[:id])
@pipeline ||= project.pipelines.find_by!(id: params[:id]).present(current_user: current_user)
end
def commit
Loading