GitHub Actions concurrency groups: cancel superseded CI runs without cancelling the wrong ones
A concurrency block with a group expression and cancel-in-progress stops superseded CI runs. Here is the queue rule, a worked YAML example, and the matrix and head_ref mistakes that break it.