D4: Reading a Simple Workflow
GH-900 GitHub Foundations exam practice questions · 10 flashcards
Question
on: push?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Reading a Simple Workflow practice questions and answers
- on: push?Runs workflow on every push.
- on: pull_request?Runs on PR events (opened, synchronize, reopened).
- runs-on: ubuntu-latest?Selects a GitHub-hosted Ubuntu runner.
- uses: actions/checkout@v4?Checks out repository code onto the runner.
- run: npm test?Executes a shell command.
- on: schedule cron?Runs workflow on a schedule (UTC cron).
- on: workflow_dispatch?Allows manual runs from the UI/API.
- Where are workflow logs?Actions tab → workflow run → job logs.
- Secrets in workflows?Referenced as ${{ secrets.NAME }}; stored encrypted in settings.
- Status badge?Image showing workflow pass/fail, embeddable in README.