provider repos POST
/orgs/{org}/rulesets @utdk/github
/orgs/{org}/rulesets Create an organization repository ruleset
Create a repository ruleset for an organization.
- org path required
- The organization name. The name is not case sensitive.
- string
Try it
Authentication
Configure credentials for GitHub v3 REST API
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.repos.createOrgRuleset({
"target": "branch"
})