Github Actions as Required Status Checks

I would like to set my GitHub Actions as required status checks so that I would be able to have protected branches and prevent commits from being pushed to specific branches if they don’t pass the github actions checks.
But when I go to the branch protection rules, the github actions don’t appear in the list of checks to choose from:

As you can see here I do have two github actions that have been running for several weeks on my repo:

So am I missing something?

You need to search for the job names, not the workflow names.

1 Like

Yes. Thanks. I also posted the same question on stackoverflow and they gave me the same answer there: How to set Github Actions as Required Status Checks - Stack Overflow