GH-900 ยท Automation and AI-assisted development
What is GitHub Actions for?
What GitHub Actions automates (CI/CD, tests, builds, issue handling) and where workflow runs are seen.
Key points
- GitHub Actions automates tasks in a repository: building and testing code (CI), deploying it (CD), and handling housekeeping such as labelling issues.
- The automation is defined as workflows in the repo, and the results of each run are visible in the repository's Actions tab.
Source: https://docs.github.com/en/actions/get-started/understand-github-actions
Practice questions
Which description best fits GitHub Actions?
- A cloud editor that opens a repository in the browser
- A platform that runs automated workflows for building, testing and deploying code
- An AI pair programmer that suggests code as you type
- A billing plan that unlocks private repositories
Show answer
Answer: B. A platform that runs automated workflows for building, testing and deploying code
Actions runs automation defined in your repository in response to events or schedules. It is not an editor, an AI assistant or a hosting plan.
Which tasks are good candidates for a GitHub Actions workflow?
- Running tests on every pull request
- Labelling new issues automatically
- Building and publishing a package when a release is created
- Hosting a permanent production database
- Replacing Git as the version control system
Show answer
Answer: A. Running tests on every pull request, B. Labelling new issues automatically, C. Building and publishing a package when a release is created
Testing on pull requests, labelling issues and publishing on release are classic event-driven automation. Actions does not host production databases or replace Git itself.
True or false: GitHub Actions can only deploy code and cannot react to issues.
Show answer
Answer: False
False. Workflows can be triggered by many repository events, including issues, so Actions also covers housekeeping such as triage and labelling.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
