capabilities.work

Create Repository With Webhook

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

Recipe · 2 steps

Create Repository With Webhook

with Gitea · Software Construction Management

Create a repo and register a webhook on it.

  1. Create a repository for the authenticated user.
  2. 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>".
  • owner: Username that owns the new repository (the authenticated user).
  • repoName: Name of the repository to create.
  • repoDescription: Description of the repository.
  • webhookUrl: Target URL the webhook delivers payloads to.
  • webhookSecret: Optional shared secret used to sign webhook payloads.
For your developer

Arazzo workflow gitea:repo-with-webhook, 2 operations: createCurrentUserRepo → repoCreateHook. Specs on APIs.io.