Allow "Require status checks to pass" to allow no checks and to included dynamic checks added to Pull Requests in its calculation #130674
Unanswered
connorstorer-kbxcom
asked this question in
Pull Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I'm working on migrating our organization's repositories from ADO to GitHub. Our CI/CD pipelines will continue to live in ADO. I'm looking to avoid having to set up branch policies for every repository and so far have been partially successful by adding Azure Pipelines pr definition to the pipeline yaml files. Doing this allows automatic pipeline execution validation on PR creation as well as automatically adds status checks to the GitHub PR itself. This is GREAT! BUT, I also want to require that the status checks are passing before allowing for the PR to complete. Currently if I select "Require status checks to pass before merging" it requires me to select status checks - this is painful as the pipelines are in ADO and the search is not great as well as potentially having duplicate pipeline names across multiple projects, as well as burdensome with 200+ repositories.
Is there a way that I can assert or require all status checks that are on a PR to pass without explicitly defining them as a branch policy /branch ruleset item?
Beta Was this translation helpful? Give feedback.
All reactions