D2: Workflow Templates, Reusable Workflows & Composite Actions
GH-200 GitHub Actions exam practice questions · 11 flashcards
Question
Starter workflows (workflow templates)?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Workflow Templates, Reusable Workflows & Composite Actions practice questions and answers
- Starter workflows (workflow templates)?Templates shown in 'New workflow'; copied into repo and become independent.
- Org workflow templates location?.github repo → workflow-templates/ with .yml and .properties.json.
- Non-public org templates?Templates in private/internal .github repo available to org members (plan-dependent).
- Reusable workflow?Central versioned workflow invoked via uses: at job level with workflow_call.
- Composite action?Bundles multiple steps into one action used at step level.
- Starter vs reusable vs composite?Starter: one-time copy. Reusable: centrally maintained job-level call. Composite: reusable step logic.
- Nesting reusable workflows?Up to 10 levels of nested reusable workflows (and up to 50 called per run).
- Reusable workflow limitations?env from caller not propagated; called at job level only.
- Disabling vs deleting workflow?Disable stops triggers but keeps file/history; deleting the file removes it (runs history remains).
- Disable via CLI?gh workflow disable <name>.
- Scenario: 40 repos must share a deployment pipeline maintained centrally. Choice?Reusable workflow.