From 79a8a327c88eb570d1ef3f96e8f669c1918dccfd Mon Sep 17 00:00:00 2001 From: Anthony Sterling Date: Fri, 17 Sep 2021 18:19:17 +0100 Subject: [PATCH] Discussion activbity type opened should be created --- content/actions/reference/events-that-trigger-workflows.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/reference/events-that-trigger-workflows.md b/content/actions/reference/events-that-trigger-workflows.md index e3dbfb0f2f..25703e0a87 100644 --- a/content/actions/reference/events-that-trigger-workflows.md +++ b/content/actions/reference/events-that-trigger-workflows.md @@ -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`
- `edited`
- `deleted`
- `transferred`
- `pinned`
- `unpinned`
- `labeled`
- `unlabeled`
- `locked`
- `unlocked`
- `category_changed`
- `answered`
- `unanswered` | Last commit on default branch | Default branch | +| [`discussion`](/webhooks/event-payloads/#discussion) | - `created`
- `edited`
- `deleted`
- `transferred`
- `pinned`
- `unpinned`
- `labeled`
- `unlabeled`
- `locked`
- `unlocked`
- `category_changed`
- `answered`
- `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`