From e69e8291026191c1c0b97f57e6cc423dbf8e45e9 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Mon, 12 Dec 2022 18:40:13 +0800 Subject: [PATCH] fix: remove ActionTask.GetRepo --- models/actions/task.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/models/actions/task.go b/models/actions/task.go index e671a06079..b73e0eab1a 100644 --- a/models/actions/task.go +++ b/models/actions/task.go @@ -90,10 +90,6 @@ func (task *ActionTask) IsStopped() bool { return task.Stopped > 0 } -func (task *ActionTask) GetRepo() string { - return "xxxx" -} - func (task *ActionTask) GetCommitSHA() string { if task.Job == nil { return ""