Skip to content

Commit

Permalink
feat: allow access to branch status checks on github
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Drukh committed May 2, 2018
1 parent ce37a56 commit 77cf2df
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions client-templates/github/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,27 @@
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},

{
"//": "used to get status checks on a branch",
"method": "GET",
"path": "/repos/:user/:repo/branches/:branch/protection/required_status_checks/contexts",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},

{
"//": "used to create status checks on a branch",
"method": "POST",
"path": "/repos/:user/:repo/branches/:branch/protection/required_status_checks/contexts",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},

{
"//": "used to delete status checks on a branch",
"method": "DELETE",
"path": "/repos/:user/:repo/branches/:branch/protection/required_status_checks/contexts",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},

{
"//": "check if repo is public",
"method": "GET",
Expand Down

0 comments on commit 77cf2df

Please sign in to comment.