D2: Interpreting Workflow Behavior & Diagnosing Failures
GH-200 GitHub Actions exam practice questions · 10 flashcards
Question
Determining why a workflow ran?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Interpreting Workflow Behavior & Diagnosing Failures practice questions and answers
- Determining why a workflow ran?Run page shows event (trigger), actor, branch/commit; check on: filters.
- Why didn't a workflow trigger?Path/branch filters, workflow on non-default branch for schedule, skip ci message, disabled workflow, GITHUB_TOKEN-triggered events don't trigger new runs.
- GITHUB_TOKEN-triggered events?Events created with GITHUB_TOKEN don't start new workflow runs (except workflow_dispatch/repository_dispatch).
- Diagnosing failed run?Open failed job logs, annotations, check step outputs, rerun with debug logging.
- Enabling debug logs?Set secret/variable ACTIONS_STEP_DEBUG=true and ACTIONS_RUNNER_DEBUG=true, or 'Enable debug logging' on re-run.
- Re-run options?Re-run all jobs, re-run failed jobs, re-run a specific job.
- Run history?Actions tab lists runs with filters by workflow, branch, event, status, actor.
- Skipping CI?[skip ci] or [ci skip] in commit message for push/PR.
- Annotations from errors?Shown on run summary and files changed in PRs.
- Scenario: job failed only on windows-latest matrix leg. Action?Inspect that leg's logs, then re-run that single matrix job.