зеркало из https://github.com/github/docs.git
Update `workflow_run` event with new `in_progress` action (#31251)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
This commit is contained in:
Родитель
4f6b418a3c
Коммит
f768d3fb6d
|
@ -1363,7 +1363,7 @@ jobs:
|
|||
|
||||
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
|
||||
| --------------------- | -------------- | ------------ | -------------|
|
||||
| [`workflow_run`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#workflow_run) | - `completed`<br/>- `requested` | Last commit on default branch | Default branch |
|
||||
| [`workflow_run`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#workflow_run) | - `completed`<br/>- `requested`{% ifversion actions-workflow-run-in-progress %}<br/>- `in_progress`{% endif %} | Last commit on default branch | Default branch |
|
||||
|
||||
{% note %}
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Reference: PR#31251
|
||||
# New action for the `workflow_run` webhook event that is triggered when a workflow run is `in_progress`.
|
||||
versions:
|
||||
fpt: '*'
|
||||
ghec: '*'
|
||||
ghes: '>=3.8'
|
||||
ghae: '>=3.8'
|
|
@ -1,4 +1,4 @@
|
|||
Key | Type | Description
|
||||
----|------|-------------
|
||||
`action`|`string` | The action that was performed. Can be one of `requested` or `completed`.
|
||||
`action`|`string` | The action that was performed. Can be one of `requested`{% ifversion actions-workflow-run-in-progress %}, `in_progress`,{% endif %} or `completed`.
|
||||
`workflow_run`| `object` | The workflow run. Includes information such as `artifacts_url`, `check_suite_id`, `conclusion`, `head_branch`, and `head_sha`.
|
||||
|
|
Загрузка…
Ссылка в новой задаче