capabilities.work

Provision Organization Repository With Webhook

A 3-step recipe with Gitea. We can help you get access.

Recipe · 3 steps

Provision Organization Repository With Webhook

with Gitea · Software Construction Management

Create an org, create a repo in it, and register a webhook.

  1. Create a new organization.
  2. Create a repository owned by the new organization.
  3. Register a gitea-type webhook on the new repository.
What you'll need to have ready
  • authToken: Authorization header value, e.g. "token <personal-access-token>".
  • orgUsername: Username (slug) of the organization to create.
  • orgFullName: Display name of the organization.
  • repoName: Name of the repository to create under the organization.
  • repoDescription: Description of the repository.
  • webhookUrl: Target URL the webhook delivers payloads to.
For your developer

Arazzo workflow gitea:org-repo-with-webhook, 3 operations: orgCreate → createOrgRepo → repoCreateHook. Specs on APIs.io.