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 <[email protected]>
Co-authored-by: badhezi <[email protected]>
Co-committed-by: badhezi <[email protected]>
This commit is contained in:
badhezi authored and Lunny Xiao committed 2025-05-12 17:17:50 +00:00
1 parent 65c232c4a5
commit 9924aea786
2 files changed
+7

No files matched your search

+1
View File
@@ -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) {