diff --git a/client-templates/github/accept.json.sample b/client-templates/github/accept.json.sample index 57705e5de..59c0879c2 100644 --- a/client-templates/github/accept.json.sample +++ b/client-templates/github/accept.json.sample @@ -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",