Parallelize operations across dynamic target lists using GitHub Actions matrix strategies with failure isolation, rate limiting, and conditional logic.
Parallelize operations across dynamic target lists using GitHub Actions matrix strategies with failure isolation, rate limiting, and conditional logic.
/plugin marketplace add adaptive-enforcement-lab/claude-skills/plugin install patterns@ael-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
examples.mdscripts/example-1.yamlscripts/example-2.mermaidscripts/example-3.yamlscripts/example-4.yamlscripts/example-5.yamlPoor Fit
- Sequential operations where order matters
- Operations with shared state between targets
- When total job count would exceed GitHub Actions limits (256)
Generate the target list in a discovery stage:
See examples.md for detailed code examples.
Prevent one failure from canceling other jobs:
strategy:
matrix:
target: ${{ fromJson(needs.discover.outputs.targets) }}
fail-fast: false # Critical: continue processing other targets
Control concurrency to avoid API rate limits:
strategy:
matrix:
target: ${{ fromJson(needs.discover.outputs.targets) }}
max-parallel: 10 # Limit concurrent jobs
See examples.md for code examples.