1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-11 17:50:58 +00:00

chore(docs): do not link to nektosact web page on validation error

The error messages however difficult to parse will have to stand
on their own.
This commit is contained in:
Earl Warren 2025-07-05 22:21:14 +02:00
parent 960b552ba9
commit e069333f58

View file

@ -100,7 +100,7 @@ func (w *Workflow) UnmarshalYAML(node *yaml.Node) error {
Definition: "workflow-root",
Schema: schema.GetWorkflowSchema(),
}).UnmarshalYAML(node); err != nil {
return errors.Join(err, fmt.Errorf("Actions YAML Schema Validation Error detected:\nFor more information, see: https://nektosact.com/usage/schema.html"))
return errors.Join(err, fmt.Errorf("Forgejo Actions YAML Schema validation error"))
}
type WorkflowDefault Workflow
return node.Decode((*WorkflowDefault)(w))