Recall & Review
beginner
What is GitHub Actions?
GitHub Actions is a tool that helps you automate tasks in your software projects, like testing code or deploying apps, by running scripts when certain events happen.
Click to reveal answer
beginner
What file defines a GitHub Actions workflow?
A workflow is defined in a YAML file located in the
.github/workflows/ folder of your repository.Click to reveal answer
beginner
What triggers can start a GitHub Actions workflow?
Workflows can start on events like pushing code, opening a pull request, or on a schedule.
Click to reveal answer
beginner
What is a job in GitHub Actions?
A job is a set of steps that run on the same machine. Jobs can run sequentially or at the same time.
Click to reveal answer
beginner
How do you specify the operating system for a job in GitHub Actions?
You use the
runs-on key in the job to choose the OS, like ubuntu-latest or windows-latest.Click to reveal answer
Where do you place the workflow YAML files in a GitHub repository?
✗ Incorrect
Workflow files must be inside the .github/workflows/ folder to be recognized by GitHub Actions.
Which event can trigger a GitHub Actions workflow?
✗ Incorrect
GitHub Actions workflows can be triggered by events like push, pull_request, or schedule, but not external events like email.
What does the
runs-on key specify in a job?✗ Incorrect
runs-on tells GitHub Actions which OS to use for running the job.What is a step in a GitHub Actions job?
✗ Incorrect
Steps are individual commands or actions that run inside a job.
Can multiple jobs in a workflow run at the same time?
✗ Incorrect
Jobs can run in parallel unless you set dependencies between them.
Explain how a GitHub Actions workflow is structured and triggered.
Think about where the file lives, what starts it, and what it contains.
You got /4 concepts.
Describe the difference between a job and a step in GitHub Actions.
Consider how tasks are grouped and executed.
You got /4 concepts.