Skip to content

Commit f768d3f

Browse files
Update workflow_run event with new in_progress action (github#31251)
Co-authored-by: Lucas Costi <[email protected]>
1 parent 4f6b418 commit f768d3f

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

content/actions/using-workflows/events-that-trigger-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ jobs:
13631363

13641364
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
13651365
| --------------------- | -------------- | ------------ | -------------|
1366-
| [`workflow_run`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#workflow_run) | - `completed`<br/>- `requested` | Last commit on default branch | Default branch |
1366+
| [`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 |
13671367

13681368
{% note %}
13691369

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Reference: PR#31251
2+
# New action for the `workflow_run` webhook event that is triggered when a workflow run is `in_progress`.
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '>=3.8'
7+
ghae: '>=3.8'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Key | Type | Description
22
----|------|-------------
3-
`action`|`string` | The action that was performed. Can be one of `requested` or `completed`.
3+
`action`|`string` | The action that was performed. Can be one of `requested`{% ifversion actions-workflow-run-in-progress %}, `in_progress`,{% endif %} or `completed`.
44
`workflow_run`| `object` | The workflow run. Includes information such as `artifacts_url`, `check_suite_id`, `conclusion`, `head_branch`, and `head_sha`.

0 commit comments

Comments
 (0)