GitHub Actions
Automate CI/CD with GitHub Actions: workflow anatomy, triggers and filters, jobs and needs, matrices and expressions, caching and concurrency, token permissions, script injection, pinning, reusable workflows and deployments, with every workflow checked by actionlint.
What you'll learn
- Write GitHub Actions workflows with triggers, jobs, steps, runners and dependencies.
- Use matrices, expressions, contexts, outputs and conditions correctly.
- Speed up pipelines with caching, concurrency control, timeouts and path filters.
- Secure workflows with least-privilege tokens, safe handling of untrusted input, pinned actions and OIDC.
- Reuse automation with reusable workflows and composite actions, and deploy through environments.
- Catch workflow mistakes early with actionlint and debug failing runs.
Syllabus
GitHub Actions Fundamentals
Triggers and Filters
Jobs, Steps and Data Flow
Matrices, Expressions and Conditions
Faster, Cheaper Pipelines
Securing Workflows
- GITHUB_TOKEN Permissions
- Script Injection From Untrusted Input
- Pinning Third-Party Actions
- Secrets and OIDC