Local Testing with act Test workflows locally before pushing to GitHub using the act tool: Common Issues Issue Cause Fix Workflow not triggered Wrong branch/path filter Check on: triggers Permission denied (GHCR) Missing packages: write Add permissions block Cache miss Key changed Check hashFiles() pattern Timeout Slow build or hanging test Add timeout-minutes; check test Secret not available Wrong environment or name Check secret name and env GitHub CLI Commands