1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

fix: remove ActionTask.GetRepo

This commit is contained in:
Jason Song
2022-12-12 18:40:13 +08:00
parent 1c9288f3dd
commit e69e829102

View File

@@ -90,10 +90,6 @@ func (task *ActionTask) IsStopped() bool {
return task.Stopped > 0 return task.Stopped > 0
} }
func (task *ActionTask) GetRepo() string {
return "xxxx"
}
func (task *ActionTask) GetCommitSHA() string { func (task *ActionTask) GetCommitSHA() string {
if task.Job == nil { if task.Job == nil {
return "" return ""