capabilities.work

Create Repository With A Labeled Issue

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

Recipe · 3 steps

Create Repository With A Labeled Issue

with Gitea · Software Product Engineering Management

Create a repo, create a label, and open a pre-labeled issue.

  1. Create a repository for the authenticated user.
  2. Create a label in the new repository.
  3. Open an issue that carries the new label from creation.
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.
  • labelName: Name of the label to create.
  • labelColor: Hex color for the label, e.g. "#00aabb".
  • issueTitle: Title of the issue to open.
  • issueBody: Body text for the issue.
For your developer

Arazzo workflow gitea:repo-with-labeled-issue, 3 operations: createCurrentUserRepo → issueCreateLabel → issueCreateIssue. Specs on APIs.io.