Runs

Merge Run Pull Request

Changed on

Merges the stored pull request for a run on GitHub.

post/api/v1/runs/{id}/pull_request/merge

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or API key in cookie __fabro_session

Path parameters

idstring required

Unique run identifier (ULID).

Request body

method'merge' | 'squash' | 'rebase' required

GitHub merge method for a pull request.

Response

Pull request merged

numberinteger required
html_urlstring uri required
method'merge' | 'squash' | 'rebase' required

GitHub merge method for a pull request.

Example response

{
  "number": 123,
  "html_url": "https://github.com/fabro-sh/fabro/pull/123"
}

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status