include and exclude
Matrix keys that remove combinations from the expansion (exclude) or add jobs or properties to it (include).
In more detail
Exclude matches partially, so naming only an operating system removes that whole row. Include adds a new job when its values are new, or adds a property to an existing job when they match. Exclusions are applied first, then inclusions.
Related terms
- strategy matrix — A job setting that expands one job description into one job for every combination of the listed values.
Taught in
- Scaling with Matrix Builds — Continuous Integration & Continuous Delivery Pipelines
- Matrices, Needs And Concurrency: The Shape Of A Run — GitHub Actions (GH-200) Exam Prep
- YAML-Reading Sprint: What Happens When This Runs? — GitHub Actions (GH-200) Exam Prep