D4: Reusable Actions/Workflows & Actions Policies
GH-100 GitHub Administration exam practice questions · 11 flashcards
Question
Sharing actions across enterprise?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Reusable Actions/Workflows & Actions Policies practice questions and answers
- Sharing actions across enterprise?Store in internal/private repos and allow access from other repos in settings.
- Reusable workflows?Workflows with on: workflow_call called by other workflows.
- Workflow templates for orgs?Stored in org .github repo under workflow-templates/.
- Actions policies (enterprise/org)?Allow all actions, local only, or selected (GitHub-created, verified creators, patterns).
- Require SHA pinning?Policy option requiring actions be pinned to full commit SHAs.
- Blocking specific actions?Use deny patterns (prefix with !) in allowed actions policy.
- Workflow permissions default?Set GITHUB_TOKEN default to read-only; control whether Actions can approve PRs.
- Fork PR workflow policies?Require approval for first-time/outside contributors' workflows.
- Artifact and log retention policy?Configure retention days at enterprise/org/repo.
- Required workflows via rulesets?Enforce specific workflows must pass before merging.
- Scenario: only allow actions from GitHub and the company's own org. Setting?Allow enterprise and select non-enterprise actions: GitHub-created + specific patterns.