mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-07 07:40:29 +00:00
8 files changed
+219
-46
No files matched your search
@@ -187,6 +187,9 @@ func ReadWorkflow(in io.Reader) (*Workflow, error) {
|
||||
func (w *Workflow) GetJob(jobID string) *Job {
|
||||
for id, j := range w.Jobs {
|
||||
if jobID == id {
|
||||
if j.Name == "" {
|
||||
j.Name = id
|
||||
}
|
||||
return j
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user