Minimal Content

2.4.2. Minimal Content#

A GitHub Workflow must include at least the following elements (keys):

is a mandatory top-level key that determines when to initiate the Workflow.

is a top-level key that holds a dictionary of jobs, each specify an environment along with a sequence of tasks to perform.

is a mandatory key within a job. steps defines a list of individual commands or actions to be executed as part of a job.