Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

Show all 10 Interpreting Workflow Behavior & Diagnosing Failures practice questions and answers
  1. Determining why a workflow ran?
    Run page shows event (trigger), actor, branch/commit; check on: filters.
  2. 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.
  3. GITHUB_TOKEN-triggered events?
    Events created with GITHUB_TOKEN don't start new workflow runs (except workflow_dispatch/repository_dispatch).
  4. Diagnosing failed run?
    Open failed job logs, annotations, check step outputs, rerun with debug logging.
  5. Enabling debug logs?
    Set secret/variable ACTIONS_STEP_DEBUG=true and ACTIONS_RUNNER_DEBUG=true, or 'Enable debug logging' on re-run.
  6. Re-run options?
    Re-run all jobs, re-run failed jobs, re-run a specific job.
  7. Run history?
    Actions tab lists runs with filters by workflow, branch, event, status, actor.
  8. Skipping CI?
    [skip ci] or [ci skip] in commit message for push/PR.
  9. Annotations from errors?
    Shown on run summary and files changed in PRs.
  10. Scenario: job failed only on windows-latest matrix leg. Action?
    Inspect that leg's logs, then re-run that single matrix job.