🃏 GitHub Actions Flashcards

Test your GitHub Actions knowledge.

About This Flashcard Deck

This flashcard deck contains 10 cards covering key GitHub Actions concepts for the GH-ACTIONS exam. Test your GitHub Actions knowledge. Use active recall by attempting to answer each question before revealing the answer.

Card 1 of 10

Question

What are the three types of custom actions?

Click to reveal answer

Answer

JavaScript (Node.js, fastest startup), Docker container (any language, isolated), Composite (combines steps from multiple actions).

Click to flip back

All GitHub Actions Flashcards

1

Q: What are the three types of custom actions?

A: JavaScript (Node.js, fastest startup), Docker container (any language, isolated), Composite (combines steps from multiple actions).

2

Q: What is GITHUB_TOKEN?

A: Automatically generated token scoped to the repository. Default permissions configurable. Used for API calls in workflows.

3

Q: What is a matrix strategy?

A: Runs a job multiple times with different configurations (e.g., multiple Node versions, OS). strategy: matrix: node: [16, 18, 20].

4

Q: What is workflow_dispatch?

A: Trigger that allows manually running a workflow from the GitHub UI with optional input parameters.

5

Q: What is OIDC in GitHub Actions?

A: OpenID Connect — allows workflows to authenticate with cloud providers (AWS, Azure, GCP) without storing long-lived credentials.

6

Q: What is an artifact in Actions?

A: Files produced by a workflow (build output, test results) that can be shared between jobs or downloaded after the run.

7

Q: What is a reusable workflow?

A: A workflow that can be called from other workflows using workflow_call trigger. Promotes DRY principles across repositories.

8

Q: What is the difference between env and secrets?

A: env: plain text, visible in logs. secrets: encrypted, masked in logs, set in repo/org settings.

9

Q: How do you run jobs sequentially?

A: Use needs: keyword. Example: needs: [build] makes a job wait for the build job to complete.

10

Q: What is a self-hosted runner?

A: A machine you manage that runs GitHub Actions jobs. Used for custom hardware, software, or network access requirements.

GitHub Flashcard Study Method

GitHub certifications test platform-specific knowledge that you can verify immediately. When reviewing these flashcards, keep a browser tab open to github.com and verify each concept in real time. If a card covers branch protection rules, navigate to a repository's settings and explore the options. This active learning approach turns passive memorisation into practical experience that sticks for the exam.

More GH-ACTIONS Flashcard Decks