Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see "Approving workflow runs from public forks ."
You must authenticate using an access token with the repo
scope to use this endpoint. GitHub Apps must have the actions:write
permission to use this endpoint. Approve a workflow run for a fork pull request
Arguments key owner owner [scalar]
The account owner of the repository. The name is not case sensitive.
API:
Github Open API
(version: 1.1.4)
key repo repo [scalar]
The name of the repository. The name is not case sensitive.
API:
Github Open API
(version: 1.1.4)
key run-id run-id [scalar]
The unique identifier of the workflow run.
API:
Github Open API
(version: 1.1.4)
Returns 201 application/json empty-object empty-object [object]
An object without any properties.
API:
Github Open API
(version: 1.1.4)
403 forbidden forbidden [scalar] API:
Github Open API
(version: 1.1.4)
404 not_found not_found [scalar] API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)