github / docs

The open-source repo for docs.github.com
https://docs.github.com
Creative Commons Attribution 4.0 International
16.07k stars 59.22k forks source link

Explicitly state that at least one job is required for a workflow #34337

Open MizouziE opened 3 weeks ago

MizouziE commented 3 weeks ago

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow

What part(s) of the article would you like to see updated?

Slightly altering to something like:

A workflow run is made up of at least one or more jobs, which run in parallel by default. Without any jobs to run, a workflow will fail. To run jobs sequentially, you can define dependencies on other jobs using the jobs.<job_id>.needs keyword.

Additional information

No response

welcome[bot] commented 3 weeks ago

Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

nguyenalex836 commented 3 weeks ago

@MizouziE Thank you for opening an issue and linking it to your PR! ✨

Echefuna commented 3 weeks ago

****