Setting multiple status checks when updating branch protection #124122
-
Select Topic AreaQuestion BodyHello, i'm trying to set branch protection rules for a repository and there are 4 jobs inside a workflow file that I would like to set as required to pass to merge Pull Requests. The documentation example only shows setting a single job. How is the syntax for setting multiple status checks at once? For example, if I have a workflow file
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
I found the answer here: https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api?apiVersion=2022-11-28#making-a-request:~:text=Some%20endpoints%20use,repository_ids%5B%5D%3DREPOSITORY_B_ID.