Exercise – Create and run a basic GitHub Actions workflow
This exercise checks your knowledge of creating a GitHub Action and using it in a workflow.
Getting started
When you click the Start the exercise on GitHub button, you will be redirected to a public template repository on GitHub, which will present you with a series of small challenges.
Before starting the exercise, complete the following steps:
- Click the Start course button or use the Use this template feature in the template repository.
→ This prompts you to create a new repository. It is recommended to create a public repository because private repositories consume GitHub Actions minutes. - Once your repository is created from the template, wait about 20 seconds, then refresh the page.
- Follow the instructions in the repository’s README file to understand:
- how the exercise works,
- its learning objectives,
- and how to complete it successfully.
After finishing the exercise on GitHub, return here for:
- A quick quiz to test your knowledge,
- A summary of what you learned,
- And a badge to validate this module.
Note
You do not need to modify the workflow files to complete this exercise.
Changing the contents of these workflows may prevent the exercise from validating your actions, providing feedback, or scoring your results correctly.