1
0
mirror of synced 2026-01-08 03:01:54 -05:00

Discussion activbity type opened should be created

This commit is contained in:
Anthony Sterling
2021-09-17 18:19:17 +01:00
committed by GitHub
parent 6da5877af4
commit 79a8a327c8

View File

@@ -293,7 +293,7 @@ Runs your workflow anytime the `discussion` event occurs. {% data reusables.deve
| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` |
| --------------------- | -------------- | ------------ | -------------|
| [`discussion`](/webhooks/event-payloads/#discussion) | - `opened`<br/>- `edited`<br/>- `deleted`<br/>- `transferred`<br/>- `pinned`<br/>- `unpinned`<br/>- `labeled`<br/>- `unlabeled`<br/>- `locked`<br/>- `unlocked`<br/>- `category_changed`<br/> - `answered`<br/> - `unanswered` | Last commit on default branch | Default branch |
| [`discussion`](/webhooks/event-payloads/#discussion) | - `created`<br/>- `edited`<br/>- `deleted`<br/>- `transferred`<br/>- `pinned`<br/>- `unpinned`<br/>- `labeled`<br/>- `unlabeled`<br/>- `locked`<br/>- `unlocked`<br/>- `category_changed`<br/> - `answered`<br/> - `unanswered` | Last commit on default branch | Default branch |
{% data reusables.developer-site.limit_workflow_to_activity_types %}
@@ -302,7 +302,7 @@ For example, you can run a workflow when a discussion has been `opened`, `edited
```yaml
on:
discussion:
types: [opened, edited, answered]
types: [created, edited, answered]
```
### `discussion_comment`