Workflows

A workflow is a configurable automated process that will run one or more jobs.

Workflows are defined by a YAML file checked in to your repository and

  • will run when triggered by an event in your repository
  • or they can be triggered manually,
  • or at a defined schedule.

Workflows are defined in the .github/workflows directory in a repository.

A repository can have multiple workflows, each which can perform a different set of tasks

Gotchas

  • You can reference a workflow within another workflow
  • You can give the workflow file any name you like, but you must use .yml or .yaml as the file name extension.