aboutsummaryrefslogtreecommitdiffstats
path: root/services/actions/workflow.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/actions/workflow.go')
-rw-r--r--services/actions/workflow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/actions/workflow.go b/services/actions/workflow.go
index ccdefa802d..5225f4dcad 100644
--- a/services/actions/workflow.go
+++ b/services/actions/workflow.go
@@ -256,7 +256,7 @@ func DispatchActionWorkflow(ctx reqctx.RequestContext, doer *user_model.User, re
}
// cancel running jobs of the same workflow
- if err := actions_model.CancelPreviousJobs(
+ if err := CancelPreviousJobs(
ctx,
run.RepoID,
run.Ref,