feat: improve list (#786)
This commit is contained in:
@@ -186,6 +186,7 @@ func NewWorkflowPlanner(path string, noWorkflowRecurse bool) (WorkflowPlanner, e
|
||||
return nil, err
|
||||
}
|
||||
|
||||
workflow.File = wf.workflowFileInfo.Name()
|
||||
if workflow.Name == "" {
|
||||
workflow.Name = wf.workflowFileInfo.Name()
|
||||
}
|
||||
|
@@ -15,6 +15,7 @@ import (
|
||||
|
||||
// Workflow is the structure of the files in .github/workflows
|
||||
type Workflow struct {
|
||||
File string
|
||||
Name string `yaml:"name"`
|
||||
RawOn yaml.Node `yaml:"on"`
|
||||
Env map[string]string `yaml:"env"`
|
||||
|
Reference in New Issue
Block a user