capabilities.work

Create Repository and Open First Issue

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

Recipe · 2 steps

Create Repository and Open First Issue

with GitHub · Software Construction Management

Create a user repository then open a first issue in it.

  1. Create a new repository for the authenticated user, initialized with a README so the default branch is created.
  2. Open the first issue in the newly created repository using the owner and repository name returned by the create step.
What you'll need to have ready
  • githubToken: A GitHub token with repo scope, passed as a Bearer credential.
  • name: The name of the repository to create.
  • description: A short description of the repository.
  • private: Whether the repository is private.
  • issueTitle: The title of the first issue to open.
  • issueBody: The body of the first issue to open.
For your developer

Arazzo workflow github:create-repository-and-issue, 2 operations: repos/create-for-authenticated-user → createAnIssue. Specs on APIs.io.