Backport a PR

This action can be taken using the backport slash command or using the API.

Slash command

/aviator backport <target_branch>

API

curl -X POST \
  -H "Authorization: Bearer <aviator_token>" \
  -H "Content-Type: application/json" \
  -d '{"target_branch": "release-v3.4", "source_pull": {"number": 1234, "repository": {"name": "repo_name", "org": "org_name"}}}' \
https://api.aviator.co/api/v1/pull_request/backport

Last updated