Skip to content

Commit 426a5c6

Browse files
authored
Merge pull request #27870 from github/repo-sync
repo sync
2 parents 1067755 + 6f72897 commit 426a5c6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,17 @@ This event occurs when someone triggers a workflow run on GitHub or sends a `POS
14811481
14821482
- {% data variables.product.prodname_github_apps %} must have the `contents` permission to receive this webhook.
14831483
1484+
### Webhook payload object
1485+
1486+
| Key | Type | Description |
1487+
|-----|-----|-----|
1488+
| `inputs` | `object` | Inputs to the workflow. Each key represents the name of the input while it's value represents the value of that input. |
1489+
{% data reusables.webhooks.org_desc %}
1490+
| `ref` | `string` | The branch ref from which the workflow was run. |
1491+
{% data reusables.webhooks.repo_desc %}
1492+
{% data reusables.webhooks.sender_desc %}
1493+
| `workflow` | `string` | Relative path to the workflow file which contains the workflow. |
1494+
14841495
### Webhook payload example
14851496
14861497
{{ webhookPayloadsForCurrentVersion.workflow_dispatch }}

0 commit comments

Comments
 (0)