Provision an Org Repository and Register an Org Webhook
A 2-step recipe with GitHub. We can help you get access.
Recipe · 2 steps
Provision an Org Repository and Register an Org Webhook
with GitHub · Software Construction Management
Create an org repository then register an org webhook for event delivery.
- Create the organization-owned repository.
- Register an organization webhook that delivers the selected events to the supplied URL as JSON.
What you'll need to have ready
- githubToken: A GitHub token with org admin and repo scope, passed as a Bearer credential.
- org: The login of the organization.
- name: The name of the repository to create.
- private: Whether the repository is private.
- webhookUrl: The URL that will receive webhook deliveries.
- events: The list of event names the webhook should subscribe to.
For your developer
Arazzo workflow github:provision-org-repo-with-webhook, 2 operations: repos/create-in-org → orgs/create-webhook. Specs on APIs.io.