mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-06 17:40:58 +00:00
fix: fails workflow validation if runs-on is missing (#192)
This created confusion when the interpretation of the absence of `runs-on` changed unexpectedly. Making it mandatory fixes this ambiguity. Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/192 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
2be7a6f1a5
commit
7e1a84b400
1 changed files with 1 additions and 0 deletions
|
@ -1588,6 +1588,7 @@
|
|||
},
|
||||
"runs-on": {
|
||||
"description": "Use `runs-on` to define the type of machine to run the job on.\n* The destination machine can be either a GitHub-hosted runner, larger runner, or a self-hosted runner.\n* You can target runners based on the labels assigned to them, or their group membership, or a combination of these.\n* You can provide `runs-on` as a single string or as an array of strings.\n* If you specify an array of strings, your workflow will execute on any runner that matches all of the specified `runs-on` values.\n* If you would like to run your workflow on multiple machines, use `jobs.<job_id>.strategy`.",
|
||||
"required": true,
|
||||
"context": ["forge", "github", "inputs", "vars", "needs", "strategy", "matrix"],
|
||||
"one-of": [
|
||||
"non-empty-string",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue