Github Actions: "Some checks haven’t completed yet" on PR

I am having an issue with a Pull Request where not all the checks do not execute in Github Actions. It runs all the expected checks, but there are extra checks that never run. There are 6 extra checks that are not expected, causing “9 successful and 6 expected checks”.

It looks like it is limited to the fact that I have the matrix setup for ‘operating_system’ and use that variable in the ‘runs_on’. Everytime I change it so that the ‘runs_on’ is hardcoded it works properly.

I’m running out of ideas.

For those following along, there were extra checks selected under the “Require status checks to pass before merging” >> “Status checks found in the last week for this repository” section.

Here is the doc link on what to double check: