I've defined a github action and it runs successfully on every push and every pull request, completing with a green check mark when tests pass.
However it never produces a status, or at any rate the github status badge always says "no status."
In addition, I am unable to choose this action as a precondition for merging pull requests because it has no status and so cannot be chosen via the "Require status checks to pass before merging" selector.
Am I trying to do something that just can't be done without explicitly emitting a status via the github API, or is there a more straightforward way to attach a github action as a precondition to a PR merging?
The github action is here: https://github.com/apostrophecms/apostrophe/blob/main/.github/workflows/main.yml
And I'm using this markup for the badge:

(This is an open source repository, so everything is available for inspection.)