Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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