Skip to content
Sean Mcilroy edited this page Jun 4, 2024 · 2 revisions

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, and a repository can have multiple workflows, each of which can perform a different set of tasks. For example, you can have one workflow to build and test pull requests, another workflow to deploy your application every time a release is created, and still another workflow that adds a label every time someone opens a new issue.

Workflow triggers are events that cause a workflow to run. These events can be:

Events that occur in your workflow's repository Events that occur outside of GitHub and trigger a repository_dispatch event on GitHub Scheduled times Manual For example, you can configure your workflow to run when a push is made to the default branch of your repository, when a release is created, or when an issue is opened.

Clone this wiki locally