Why This Cheat Sheet Matters for GH-ACTIONS
This cheat sheet covers the most important GitHub Actions concepts tested on the GH-ACTIONS (Actions) certification exam. It contains 1 sections with 10 key points. Use this as a quick-reference guide during your final review sessions.
Workflow Structure
- name: — workflow display name.
- on: push|pull_request|schedule|workflow_dispatch — triggers.
- jobs: — one or more jobs (run in parallel by default).
- runs-on: ubuntu-latest — runner environment.
- steps: — sequential tasks within a job.
- uses: actions/checkout@v4 — use a published action.
- run: npm test — execute a shell command.
- env: / secrets.${{ secrets.TOKEN }} — environment variables.
- if: ${{ github.event_name == 'push' }} — conditional execution.
- strategy: matrix: — run job with multiple configurations.
Practice GitHub Actions Questions
Put your knowledge to the test with practice questions.
GitHub YAML & Markdown Reference
GitHub certifications frequently test your knowledge of YAML syntax for Actions workflows and Markdown for documentation. Key YAML elements include workflow triggers (on:), jobs, steps, uses, run, env, and secrets. Understand the difference between workflow-level, job-level, and step-level configurations. For Markdown, know GitHub Flavoured Markdown (GFM) extensions like task lists, tables, and collapsible sections.