capabilities.work

Open And Triage Pull Request

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

Recipe · 2 steps

Open And Triage Pull Request

with Gitea · Software Construction Management

Open a pull request and triage it with assignees and labels.

  1. Open a pull request from the head branch into the base branch.
  2. Edit the pull request to attach assignees and labels.
What you'll need to have ready
  • authToken: Authorization header value, e.g. "token <personal-access-token>".
  • owner: Owner of the repository.
  • repo: Name of the repository.
  • headBranch: Head branch the changes come from.
  • baseBranch: Base branch the pull request targets.
  • prTitle: Title of the pull request.
  • prBody: Description body for the pull request.
  • assignees: Usernames to assign to the pull request.
  • labelIds: Label ids to attach to the pull request.
For your developer

Arazzo workflow gitea:open-and-triage-pull-request, 2 operations: repoCreatePullRequest → repoEditPullRequest. Specs on APIs.io.