Set a pre-receive hook's enforcement for an org
One step with GitHub. We can help you get access.
Get something done
Set a pre-receive hook's enforcement for an org
with GitHub
Use GitHub: its GitHub v3 REST Enterprise Admin API lets you set a pre-receive hook's enforcement for an org in a single step (PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}). capabilities.work can help you get signed up and connected.
- How do I switch a pre-receive hook to testing mode just for my organization?
- Can my org let its repositories override a hook's enforcement?
Say it to your AI assistant
- Set enforcement of hook {pre_receive_hook_id} in organization {org} to {enforcement}.
- Let repos in {org} configure hook {pre_receive_hook_id} themselves ({allow_downstream_configuration}).
For your developer
PATCH /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id} in GitHub v3 REST Enterprise Admin API. Full spec on APIs.io.