Action not available in status checks #26668
-
Hey Folks - I have an action that ran successfully and I’m trying to set it up to validate a PR. When I go to the branch protection and go to setup the status check the action I created does not show there. I did not add specific yml to set a status - is that required? I read the numerous stackoverflows, About Status Checks, and About Protected Branchs and numerous other articles but none of them talk about the yml to stamp a status… Any guidance is welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
To sortof close this out - the action is firing on pull requests so it’s working and verifying that status passes. I guess specifically setting it in the branch protection is not required once it’s setup in the actions… |
Beta Was this translation helpful? Give feedback.
-
The required status checks thing as of late doesn’t automatically show status checks, instead there’s a text area where you can enter a search criteria to get a choice of matching status checks to add. This isn’t the first question I’ve seen asked about this, and it feels like the docs could use a picture or two. Here’s a sample of me searching for a status check to require: And once I’ve added it, I can control whether I care about the source of the status check: Here, I’m saying that I want a passing ✅ from GitHub Actions for Check Spelling. |
Beta Was this translation helpful? Give feedback.
-
I'm running into an issue where nothing is showing up in the "Status Checks" list rule even when searching. The workflow file is |
Beta Was this translation helpful? Give feedback.
To sortof close this out - the action is firing on pull requests so it’s working and verifying that status passes. I guess specifically setting it in the branch protection is not required once it’s setup in the actions…