Evaluate run-name field for workflows (#137)
To support https://github.com/go-gitea/gitea/pull/34301 Reviewed-on: https://gitea.com/gitea/act/pulls/137 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: badhezi <zlilaharon@gmail.com> Co-committed-by: badhezi <zlilaharon@gmail.com>
This commit is contained in:
@@ -16,6 +16,7 @@ type SingleWorkflow struct {
|
||||
RawJobs yaml.Node `yaml:"jobs,omitempty"`
|
||||
Defaults Defaults `yaml:"defaults,omitempty"`
|
||||
RawPermissions yaml.Node `yaml:"permissions,omitempty"`
|
||||
RunName string `yaml:"run-name,omitempty"`
|
||||
}
|
||||
|
||||
func (w *SingleWorkflow) Job() (string, *Job) {
|
||||
|
||||
Reference in New Issue
Block a user