Using GitHub Actions
To understand how it works, let’s have a look at some of its components in the following sections.
A workflow is a process that can run one or more jobs. We can define them in YAML format within the
.github/workflows folder. Workflows can be run when a specified event is triggered. We can also re-run workflows manually directly from GitHub. A repository can have as many workflows as we want.
An event, when fired, will cause the workflow to run. GitHub activities can trigger events, such as pushing to the repository or creating a pull request. Besides that, they can also be started on a schedule or via HTTP POST requests.