D1: Job Summaries, Badges & Environment Protections
GH-200 GitHub Actions exam practice questions · 10 flashcards
Question
GITHUB_STEP_SUMMARY?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Job Summaries, Badges & Environment Protections practice questions and answers
- GITHUB_STEP_SUMMARY?Append Markdown to show a rich summary on the run page.
- Example summary use?Test results tables, coverage percentages, deployment links.
- Summary size limit?1 MiB per step.
- Workflow status badge URL?https://github.com/OWNER/REPO/actions/workflows/FILE.yml/badge.svg.
- Badge for a branch/event?Append ?branch=main or ?event=push.
- Environments in workflows?jobs.<id>.environment: name (and url).
- Environment protection options?Required reviewers, wait timer, deployment branches/tags, custom protection rules.
- Environment URL?Displayed in deployments for quick access.
- Deployment history?Shown per environment in repo.
- Scenario: show coverage % directly in the run summary page. Feature?Write Markdown to $GITHUB_STEP_SUMMARY.