Flashcardsfor IT Certifications

D1: workflow_dispatch & workflow_call Inputs

GH-200 GitHub Actions exam practice questions · 11 flashcards

Question
workflow_dispatch input types?
1 / 11

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

Last updated: · Report an error on this page

Show all 11 workflow_dispatch & workflow_call Inputs practice questions and answers
  1. workflow_dispatch input types?
    string, boolean, choice, number, environment.
  2. Input properties?
    description, required, default, type, options (for choice).
  3. Accessing inputs?
    ${{ inputs.name }} (also github.event.inputs.name for dispatch).
  4. workflow_call inputs?
    Declared under on.workflow_call.inputs with type (string, number, boolean) and required/default.
  5. workflow_call secrets?
    Declared under on.workflow_call.secrets; caller passes with secrets: or secrets: inherit.
  6. secrets: inherit?
    Passes all caller's secrets implicitly to the reusable workflow (same org/enterprise).
  7. Calling a reusable workflow?
    jobs.<id>.uses: owner/repo/.github/workflows/file.yml@ref with with: and secrets:.
  8. workflow_call outputs?
    Map job outputs to workflow outputs for callers.
  9. Max inputs for workflow_dispatch?
    Up to 25 inputs (GitHub increased limit).
  10. Validating inputs?
    Use types, choices, required flags, and validate in steps before use.
  11. Scenario: manual deploy workflow letting user pick staging/prod. Input type?
    choice (or environment) input.