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 ""