If a Check Run name changes, it keeps being required

Scenario: Github Action with a matrix of node versions (full GitHub Action here):

...
test_matrix:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node:
          - 10
          - 12
          - 14
    name: Node ${{ matrix.node }} 
...

Is there a way to make a Status Check as required by job-id instead of job-name, so the change of the name is transparent to a Repository and its branch protection rules?

We would like to prevent, when Node 16 appears and Node 10 sunsets, for example, to have to unmark as required in all repositories and mark Node 16 as required.

Continuing the discussion from Status check for a matrix jobs:

Hi @oscard0m,

That’s an interesting use-case and a very valid one I would think.

Could you perhaps suggest this as a feature request feedback for github actions ?

1 Like

Posted @lirantal ! GitHub Actions: If a Check Run name changes, it keeps being required · Discussion #4411 · github/feedback · GitHub
Feel free to follow the discussion

Thanks, will subscribe to that one

1 Like