Interview Q&A · questions with model answers
GitHub Actions Fundamentals Interview Questions
Part of the study plan for: DevOps Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked Explain how a GitHub Actions workflow is structured: events, jobs, steps, runners and actions.
A workflow is a YAML file in .github/workflows/ triggered by events (push, pull_request, schedule, workflow_dispatch). It contains jobs that run in parallel by default (or in order with needs), each…
-
How does the GITHUB_TOKEN work, and how do you limit its permissions?
GitHub creates a GITHUB_TOKEN for each workflow run, scoped to the repository and valid only while the job runs. Its permissions come from the repository or organisation default and the workflow's…