-
Notifications
You must be signed in to change notification settings - Fork 67.3k
The jobs.*.runs-on documentation is confusing #13272
Copy link
Copy link
Closed
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review
Metadata
Metadata
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on
What part(s) of the article would you like to see updated?
The article seems to imply that you can pass an array of string for the github hosted runners.
for example I was trying to do the below
however this produce the below behaviour

It seems that the array of string is only allowed for a self-hosted runner. (not sure why this restriction BTW)
thanks
Additional information
No response