Flashcardsfor IT Certifications

D1: Contexts

GH-200 GitHub Actions exam practice questions · 12 flashcards

Question
github context?
1 / 12

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 12 Contexts practice questions and answers
  1. github context?
    Workflow run info: event_name, ref, sha, repository, actor, run_id, event payload.
  2. runner context?
    Runner info: os, arch, temp, tool_cache, name.
  3. env context?
    Environment variables set in workflow.
  4. vars context?
    Configuration variables (org/repo/environment).
  5. secrets context?
    Secrets available to the workflow.
  6. inputs context?
    Inputs for workflow_dispatch/workflow_call/actions.
  7. matrix and strategy contexts?
    Current matrix values and strategy settings (fail-fast, job-index).
  8. needs context?
    Outputs and results of dependent jobs: needs.build.outputs.x.
  9. job and steps contexts?
    Job container/services info; step outputs/outcomes.
  10. github.event?
    Full webhook payload, e.g. github.event.pull_request.number.
  11. github.ref vs github.ref_name?
    ref: refs/heads/main; ref_name: main.
  12. Immutable actions & version pinning?
    Published action versions become immutable packages; pin to SHA/immutable versions for integrity.