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:
parent
960b552ba9
commit
e069333f58
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue