Bitzu

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

Single choice

Which description best fits GitHub Actions?

  1. A cloud editor that opens a repository in the browser
  2. A platform that runs automated workflows for building, testing and deploying code
  3. An AI pair programmer that suggests code as you type
  4. 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.

Select all that apply

Which tasks are good candidates for a GitHub Actions workflow?

  1. Running tests on every pull request
  2. Labelling new issues automatically
  3. Building and publishing a package when a release is created
  4. Hosting a permanent production database
  5. 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

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.

Download on the App StoreGet it on Google Play

More GH-900 topics in this module