New batchZero to DevOps starts 29 Nov · limited seatsReserve your seat
Cheat sheetsGitHub ActionsGitHub ActionsSheet 05 of 6
ProSheet 05 of 6
Workflow Optimization & Troubleshooting
A comprehensive developer cheatsheet covering GitHub Actions workflow optimization and troubleshooting, featuring essential YAML configurations and operational workflows for dependency caching, concurrency control, interactive debugging, security scanning, and resolving common CI/CD pitfalls.
Workflow Optimization Overview
Optimization Areas
Area
Impact
Strategy
Build Speed
High
Caching, parallel jobs
Cost
High
Skip on docs, cancel stale runs
Reliability
High
Retry, timeout, idempotency
Debugging
Medium
Logging, tmate, artifacts
Security
High
Scanning, secrets, least privilege
Common Optimization Techniques
Technique
Description
Cache Dependencies
Reuse downloaded packages
Parallel Jobs
Run independent jobs in parallel
Skip Workflows
Skip on documentation changes
Cancel In-progress
Cancel stale runs on new commits
Use if Conditions
Skip unnecessary steps
Use continue-on-error
Allow non-critical steps to fail
The rest of this sheet is locked3 Pro sheets unlock together, across every toolEveryPro sheet, every toolLifetimeone payment, no renewalNewsheets included as they shipOne-time payment · lifetime access