Patch an action run
PATCH/v1/actions/runs/:run_id
This route allows you to patch an action run's details. This can be used to update the run's status & label, and add links to it (e.g. external logs of the job runner).
To learn more about action runs, check out the documentation.
Request
Path Parameters
The identifier of the action run you want to patch.
Query Parameters
Possible values: [v1
, v2
]
- application/json
Body
- string
- array
Array [
]
Possible values: [SUCCESS
, FAILURE
]
A label to describe the status of the action run.
link
object
One or more links to be displayed in the run's page in Port. For example, a link to the external logs of the job runner.
oneOf
string
string
A summary of the action run, which will be displayed in the run's page in Port.
The run id of your backend, for example the id that GitHub gives the workflow. This can be used to identify the action run instead of the run_id
.
Responses
- 200
- 404
- 422
- 500
Success
One of the following errors occurred:
Error | Description |
---|---|
not_found | The action run with the provided identifier was not found |
One of the following errors occurred:
Error | Description |
---|---|
invalid_request | The data provided does not match the route schema |
run_synchronized_error | Cannot manually change status of a synchronized action run |
One of the following errors occurred:
Error | Description |
---|---|
internal_error | An internal error occurred |