v106

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-02160524464.6 KB
Runs

Link Run Pull Request

Links or replaces the GitHub pull request association for a run without modifying the remote pull request.

put/api/v1/runs/{id}/pull_request

Path parameters

idstring required

Unique run identifier (ULID).

Request body

html_urlstring uri required

GitHub pull request URL to associate with the run. Must use the form https://github.com/{owner}/{repo}/pull/{number}.

Example request

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

Response

Pull request linked

ownerstring required
repostring required
numberinteger required
html_urlstring uri required

Computed GitHub web URL for the pull request.

Example response

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