This page was generated based on Github’s Documentation. See our welcome page for context and details.
Github Event discussion
#
Github Action Trigger #
Webhook event payload | Activity types | GITHUB_SHA | GITHUB_REF |
---|---|---|---|
discussion | - created - edited - deleted - transferred - pinned - unpinned - labeled - unlabeled - locked - unlocked - category_changed - answered - unanswered | Last commit on default branch | Default branch |
Note: More than one activity type triggers this event. For information about each activity type, see “Webhook events and payloads.” By default, all activity types trigger workflows that run on this event. You can limit your workflow runs to specific activity types using the types
keyword. For more information, see “Workflow syntax for GitHub Actions.”
Note: This event will only trigger a workflow run if the workflow file is on the default branch.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
Runs your workflow when a discussion in the workflow’s repository is created or modified. For activity related to comments on a discussion, use the discussion_comment
event. For more information about discussions, see “About discussions.” For information about the GraphQL API, see “Objects.”
For example, you can run a workflow when a discussion has been created
, edited
, or answered
.
on:
discussion:
types: [created, edited, answered]
Event Payload #
Activities: answered
, category_changed
, closed
, created
, deleted
, edited
, labeled
, locked
, pinned
, reopened
, transferred
, unanswered
, unlabeled
, unlocked
, unpinned
Common Fields #
These fields are common to every event types available with this trigger.
field | type | required | description |
---|---|---|---|
github.event.discussion | object | required | A Discussion in a repository. |
github.event.discussion.active_lock_reason | string or null | required | |
github.event.discussion.answer_chosen_at | string or null | required | |
github.event.discussion.answer_chosen_by | object or null | required | |
github.event.discussion.answer_chosen_by.avatar_url | string | optional | |
github.event.discussion.answer_chosen_by.deleted | boolean | optional | |
github.event.discussion.answer_chosen_by.email | string or null | optional | |
github.event.discussion.answer_chosen_by.events_url | string | optional | |
github.event.discussion.answer_chosen_by.followers_url | string | optional | |
github.event.discussion.answer_chosen_by.following_url | string | optional | |
github.event.discussion.answer_chosen_by.gists_url | string | optional | |
github.event.discussion.answer_chosen_by.gravatar_id | string | optional | |
github.event.discussion.answer_chosen_by.html_url | string | optional | |
github.event.discussion.answer_chosen_by.id | integer | required | |
github.event.discussion.answer_chosen_by.login | string | required | |
github.event.discussion.answer_chosen_by.name | string | optional | |
github.event.discussion.answer_chosen_by.node_id | string | optional | |
github.event.discussion.answer_chosen_by.organizations_url | string | optional | |
github.event.discussion.answer_chosen_by.received_events_url | string | optional | |
github.event.discussion.answer_chosen_by.repos_url | string | optional | |
github.event.discussion.answer_chosen_by.site_admin | boolean | optional | |
github.event.discussion.answer_chosen_by.starred_url | string | optional | |
github.event.discussion.answer_chosen_by.subscriptions_url | string | optional | |
github.event.discussion.answer_chosen_by.type | Bot , User , Organization | optional | |
github.event.discussion.answer_chosen_by.url | string | optional | |
github.event.discussion.answer_html_url | string or null | required | |
github.event.discussion.author_association | COLLABORATOR , CONTRIBUTOR , FIRST_TIMER , FIRST_TIME_CONTRIBUTOR , MANNEQUIN , MEMBER , NONE , OWNER | required | How the author is associated with the repository. |
github.event.discussion.category | object | required | |
github.event.discussion.category.created_at | string | required | |
github.event.discussion.category.description | string | required | |
github.event.discussion.category.emoji | string | required | |
github.event.discussion.category.id | integer | required | |
github.event.discussion.category.is_answerable | boolean | required | |
github.event.discussion.category.name | string | required | |
github.event.discussion.category.node_id | string | optional | |
github.event.discussion.category.repository_id | integer | required | |
github.event.discussion.category.slug | string | required | |
github.event.discussion.category.updated_at | string | required | |
github.event.discussion.comments | integer | required | |
github.event.discussion.created_at | string | required | |
github.event.discussion.html_url | string | required | |
github.event.discussion.id | integer | required | |
github.event.discussion.locked | boolean | required | |
github.event.discussion.node_id | string | required | |
github.event.discussion.number | integer | required | |
github.event.discussion.reactions | object | optional | |
github.event.discussion.repository_url | string | required | |
github.event.discussion.timeline_url | string | optional | |
github.event.discussion.title | string | required | |
github.event.discussion.updated_at | string | required | |
github.event.discussion.user | object or null | required | |
github.event.discussion.user.avatar_url | string | optional | |
github.event.discussion.user.deleted | boolean | optional | |
github.event.discussion.user.email | string or null | optional | |
github.event.discussion.user.events_url | string | optional | |
github.event.discussion.user.followers_url | string | optional | |
github.event.discussion.user.following_url | string | optional | |
github.event.discussion.user.gists_url | string | optional | |
github.event.discussion.user.gravatar_id | string | optional | |
github.event.discussion.user.html_url | string | optional | |
github.event.discussion.user.id | integer | required | |
github.event.discussion.user.login | string | required | |
github.event.discussion.user.name | string | optional | |
github.event.discussion.user.node_id | string | optional | |
github.event.discussion.user.organizations_url | string | optional | |
github.event.discussion.user.received_events_url | string | optional | |
github.event.discussion.user.repos_url | string | optional | |
github.event.discussion.user.site_admin | boolean | optional | |
github.event.discussion.user.starred_url | string | optional | |
github.event.discussion.user.subscriptions_url | string | optional | |
github.event.discussion.user.type | Bot , User , Organization | optional | |
github.event.discussion.user.url | string | optional | |
github.event.organization | object | optional | A GitHub organization. Webhook payloads contain the |
github.event.repository | object | required | The repository on GitHub where the event occurred. Webhook payloads contain the |
answered
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | answered | required | |
github.event.answer | object | required | |
github.event.answer.author_association | COLLABORATOR , CONTRIBUTOR , FIRST_TIMER , FIRST_TIME_CONTRIBUTOR , MANNEQUIN , MEMBER , NONE , OWNER | required | How the author is associated with the repository. |
github.event.answer.body | string | required | |
github.event.answer.child_comment_count | integer | required | |
github.event.answer.created_at | string | required | |
github.event.answer.discussion_id | integer | required | |
github.event.answer.html_url | string | required | |
github.event.answer.id | integer | required | |
github.event.answer.node_id | string | required | |
github.event.answer.parent_id | null | required | |
github.event.answer.reactions | object | optional | |
github.event.answer.reactions.+1 | integer | required | |
github.event.answer.reactions.-1 | integer | required | |
github.event.answer.reactions.confused | integer | required | |
github.event.answer.reactions.eyes | integer | required | |
github.event.answer.reactions.heart | integer | required | |
github.event.answer.reactions.hooray | integer | required | |
github.event.answer.reactions.laugh | integer | required | |
github.event.answer.reactions.rocket | integer | required | |
github.event.answer.reactions.total_count | integer | required | |
github.event.answer.reactions.url | string | required | |
github.event.answer.repository_url | string | required | |
github.event.answer.updated_at | string | required | |
github.event.answer.user | object or null | required | |
github.event.answer.user.avatar_url | string | optional | |
github.event.answer.user.deleted | boolean | optional | |
github.event.answer.user.email | string or null | optional | |
github.event.answer.user.events_url | string | optional | |
github.event.answer.user.followers_url | string | optional | |
github.event.answer.user.following_url | string | optional | |
github.event.answer.user.gists_url | string | optional | |
github.event.answer.user.gravatar_id | string | optional | |
github.event.answer.user.html_url | string | optional | |
github.event.answer.user.id | integer | required | |
github.event.answer.user.login | string | required | |
github.event.answer.user.name | string | optional | |
github.event.answer.user.node_id | string | optional | |
github.event.answer.user.organizations_url | string | optional | |
github.event.answer.user.received_events_url | string | optional | |
github.event.answer.user.repos_url | string | optional | |
github.event.answer.user.site_admin | boolean | optional | |
github.event.answer.user.starred_url | string | optional | |
github.event.answer.user.subscriptions_url | string | optional | |
github.event.answer.user.type | Bot , User , Organization | optional | |
github.event.answer.user.url | string | optional | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
category_changed
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | category_changed | required | |
github.event.changes | object | required | |
github.event.changes.category | object | required | |
github.event.changes.category.from | object | required | |
github.event.changes.category.from.created_at | string | required | |
github.event.changes.category.from.description | string | required | |
github.event.changes.category.from.emoji | string | required | |
github.event.changes.category.from.id | integer | required | |
github.event.changes.category.from.is_answerable | boolean | required | |
github.event.changes.category.from.name | string | required | |
github.event.changes.category.from.node_id | string | optional | |
github.event.changes.category.from.repository_id | integer | required | |
github.event.changes.category.from.slug | string | required | |
github.event.changes.category.from.updated_at | string | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
closed
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | closed | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
created
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | created | required | |
github.event.discussion.body | string or null | required | |
github.event.discussion.reactions.+1 | integer | optional | |
github.event.discussion.reactions.-1 | integer | optional | |
github.event.discussion.reactions.confused | integer | optional | |
github.event.discussion.reactions.eyes | integer | optional | |
github.event.discussion.reactions.heart | integer | optional | |
github.event.discussion.reactions.hooray | integer | optional | |
github.event.discussion.reactions.laugh | integer | optional | |
github.event.discussion.reactions.rocket | integer | optional | |
github.event.discussion.reactions.total_count | integer | optional | |
github.event.discussion.reactions.url | string | optional | |
github.event.discussion.state | open , locked , converting , transferring | required | |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
deleted
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | deleted | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
edited
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | edited | required | |
github.event.changes | object | optional | |
github.event.changes.body | object | optional | |
github.event.changes.body.from | string | required | |
github.event.changes.title | object | optional | |
github.event.changes.title.from | string | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
labeled
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | labeled | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.label | object | required | |
github.event.label.color | string | required | 6-character hex code, without the leading #, identifying the color |
github.event.label.default | boolean | required | |
github.event.label.description | string or null | required | |
github.event.label.id | integer | required | |
github.event.label.name | string | required | The name of the label. |
github.event.label.node_id | string | required | |
github.event.label.url | string | required | URL for the label |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
locked
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | locked | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
pinned
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | pinned | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
reopened
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | reopened | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
transferred
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | transferred | required | |
github.event.changes | object | required | |
github.event.changes.new_discussion | object | required | A Discussion in a repository. |
github.event.changes.new_discussion.active_lock_reason | string or null | required | |
github.event.changes.new_discussion.answer_chosen_at | string or null | required | |
github.event.changes.new_discussion.answer_chosen_by | object or null | required | |
github.event.changes.new_discussion.answer_chosen_by.avatar_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.deleted | boolean | optional | |
github.event.changes.new_discussion.answer_chosen_by.email | string or null | optional | |
github.event.changes.new_discussion.answer_chosen_by.events_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.followers_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.following_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.gists_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.gravatar_id | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.html_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.id | integer | required | |
github.event.changes.new_discussion.answer_chosen_by.login | string | required | |
github.event.changes.new_discussion.answer_chosen_by.name | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.node_id | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.organizations_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.received_events_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.repos_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.site_admin | boolean | optional | |
github.event.changes.new_discussion.answer_chosen_by.starred_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.subscriptions_url | string | optional | |
github.event.changes.new_discussion.answer_chosen_by.type | Bot , User , Organization | optional | |
github.event.changes.new_discussion.answer_chosen_by.url | string | optional | |
github.event.changes.new_discussion.answer_html_url | string or null | required | |
github.event.changes.new_discussion.author_association | COLLABORATOR , CONTRIBUTOR , FIRST_TIMER , FIRST_TIME_CONTRIBUTOR , MANNEQUIN , MEMBER , NONE , OWNER | required | How the author is associated with the repository. |
github.event.changes.new_discussion.body | string | required | |
github.event.changes.new_discussion.category | object | required | |
github.event.changes.new_discussion.category.created_at | string | required | |
github.event.changes.new_discussion.category.description | string | required | |
github.event.changes.new_discussion.category.emoji | string | required | |
github.event.changes.new_discussion.category.id | integer | required | |
github.event.changes.new_discussion.category.is_answerable | boolean | required | |
github.event.changes.new_discussion.category.name | string | required | |
github.event.changes.new_discussion.category.node_id | string | optional | |
github.event.changes.new_discussion.category.repository_id | integer | required | |
github.event.changes.new_discussion.category.slug | string | required | |
github.event.changes.new_discussion.category.updated_at | string | required | |
github.event.changes.new_discussion.comments | integer | required | |
github.event.changes.new_discussion.created_at | string | required | |
github.event.changes.new_discussion.html_url | string | required | |
github.event.changes.new_discussion.id | integer | required | |
github.event.changes.new_discussion.locked | boolean | required | |
github.event.changes.new_discussion.node_id | string | required | |
github.event.changes.new_discussion.number | integer | required | |
github.event.changes.new_discussion.reactions | object | optional | |
github.event.changes.new_discussion.reactions.+1 | integer | required | |
github.event.changes.new_discussion.reactions.-1 | integer | required | |
github.event.changes.new_discussion.reactions.confused | integer | required | |
github.event.changes.new_discussion.reactions.eyes | integer | required | |
github.event.changes.new_discussion.reactions.heart | integer | required | |
github.event.changes.new_discussion.reactions.hooray | integer | required | |
github.event.changes.new_discussion.reactions.laugh | integer | required | |
github.event.changes.new_discussion.reactions.rocket | integer | required | |
github.event.changes.new_discussion.reactions.total_count | integer | required | |
github.event.changes.new_discussion.reactions.url | string | required | |
github.event.changes.new_discussion.repository_url | string | required | |
github.event.changes.new_discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.changes.new_discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.changes.new_discussion.timeline_url | string | optional | |
github.event.changes.new_discussion.title | string | required | |
github.event.changes.new_discussion.updated_at | string | required | |
github.event.changes.new_discussion.user | object or null | required | |
github.event.changes.new_discussion.user.avatar_url | string | optional | |
github.event.changes.new_discussion.user.deleted | boolean | optional | |
github.event.changes.new_discussion.user.email | string or null | optional | |
github.event.changes.new_discussion.user.events_url | string | optional | |
github.event.changes.new_discussion.user.followers_url | string | optional | |
github.event.changes.new_discussion.user.following_url | string | optional | |
github.event.changes.new_discussion.user.gists_url | string | optional | |
github.event.changes.new_discussion.user.gravatar_id | string | optional | |
github.event.changes.new_discussion.user.html_url | string | optional | |
github.event.changes.new_discussion.user.id | integer | required | |
github.event.changes.new_discussion.user.login | string | required | |
github.event.changes.new_discussion.user.name | string | optional | |
github.event.changes.new_discussion.user.node_id | string | optional | |
github.event.changes.new_discussion.user.organizations_url | string | optional | |
github.event.changes.new_discussion.user.received_events_url | string | optional | |
github.event.changes.new_discussion.user.repos_url | string | optional | |
github.event.changes.new_discussion.user.site_admin | boolean | optional | |
github.event.changes.new_discussion.user.starred_url | string | optional | |
github.event.changes.new_discussion.user.subscriptions_url | string | optional | |
github.event.changes.new_discussion.user.type | Bot , User , Organization | optional | |
github.event.changes.new_discussion.user.url | string | optional | |
github.event.changes.new_repository | object | required | The repository on GitHub where the event occurred. Webhook payloads contain the |
github.event.changes.new_repository.id | integer | required | Unique identifier of the repository |
github.event.changes.new_repository.node_id | string | required | |
github.event.changes.new_repository.name | string | required | The name of the repository. |
github.event.changes.new_repository.full_name | string | required | |
github.event.changes.new_repository.license | object | required | License Simple |
github.event.changes.new_repository.license.key | string | required | |
github.event.changes.new_repository.license.name | string | required | |
github.event.changes.new_repository.license.url | string or null | required | |
github.event.changes.new_repository.license.spdx_id | string or null | required | |
github.event.changes.new_repository.license.node_id | string | required | |
github.event.changes.new_repository.license.html_url | string | optional | |
github.event.changes.new_repository.organization | object | optional | A GitHub user. |
github.event.changes.new_repository.organization.name | string or null | optional | |
github.event.changes.new_repository.organization.email | string or null | optional | |
github.event.changes.new_repository.organization.login | string | required | |
github.event.changes.new_repository.organization.id | integer | required | |
github.event.changes.new_repository.organization.node_id | string | required | |
github.event.changes.new_repository.organization.avatar_url | string | required | |
github.event.changes.new_repository.organization.gravatar_id | string or null | required | |
github.event.changes.new_repository.organization.url | string | required | |
github.event.changes.new_repository.organization.html_url | string | required | |
github.event.changes.new_repository.organization.followers_url | string | required | |
github.event.changes.new_repository.organization.following_url | string | required | |
github.event.changes.new_repository.organization.gists_url | string | required | |
github.event.changes.new_repository.organization.starred_url | string | required | |
github.event.changes.new_repository.organization.subscriptions_url | string | required | |
github.event.changes.new_repository.organization.organizations_url | string | required | |
github.event.changes.new_repository.organization.repos_url | string | required | |
github.event.changes.new_repository.organization.events_url | string | required | |
github.event.changes.new_repository.organization.received_events_url | string | required | |
github.event.changes.new_repository.organization.type | string | required | |
github.event.changes.new_repository.organization.site_admin | boolean | required | |
github.event.changes.new_repository.organization.starred_at | string | optional | |
github.event.changes.new_repository.forks | integer | required | |
github.event.changes.new_repository.permissions | object | optional | |
github.event.changes.new_repository.permissions.admin | boolean | required | |
github.event.changes.new_repository.permissions.pull | boolean | required | |
github.event.changes.new_repository.permissions.triage | boolean | optional | |
github.event.changes.new_repository.permissions.push | boolean | required | |
github.event.changes.new_repository.permissions.maintain | boolean | optional | |
github.event.changes.new_repository.owner | object | required | A GitHub user. |
github.event.changes.new_repository.owner.name | string or null | optional | |
github.event.changes.new_repository.owner.email | string or null | optional | |
github.event.changes.new_repository.owner.login | string | required | |
github.event.changes.new_repository.owner.id | integer | required | |
github.event.changes.new_repository.owner.node_id | string | required | |
github.event.changes.new_repository.owner.avatar_url | string | required | |
github.event.changes.new_repository.owner.gravatar_id | string or null | required | |
github.event.changes.new_repository.owner.url | string | required | |
github.event.changes.new_repository.owner.html_url | string | required | |
github.event.changes.new_repository.owner.followers_url | string | required | |
github.event.changes.new_repository.owner.following_url | string | required | |
github.event.changes.new_repository.owner.gists_url | string | required | |
github.event.changes.new_repository.owner.starred_url | string | required | |
github.event.changes.new_repository.owner.subscriptions_url | string | required | |
github.event.changes.new_repository.owner.organizations_url | string | required | |
github.event.changes.new_repository.owner.repos_url | string | required | |
github.event.changes.new_repository.owner.events_url | string | required | |
github.event.changes.new_repository.owner.received_events_url | string | required | |
github.event.changes.new_repository.owner.type | string | required | |
github.event.changes.new_repository.owner.site_admin | boolean | required | |
github.event.changes.new_repository.owner.starred_at | string | optional | |
github.event.changes.new_repository.private | boolean | required | Whether the repository is private or public. |
github.event.changes.new_repository.html_url | string | required | |
github.event.changes.new_repository.description | string or null | required | |
github.event.changes.new_repository.fork | boolean | required | |
github.event.changes.new_repository.url | string | required | |
github.event.changes.new_repository.archive_url | string | required | |
github.event.changes.new_repository.assignees_url | string | required | |
github.event.changes.new_repository.blobs_url | string | required | |
github.event.changes.new_repository.branches_url | string | required | |
github.event.changes.new_repository.collaborators_url | string | required | |
github.event.changes.new_repository.comments_url | string | required | |
github.event.changes.new_repository.commits_url | string | required | |
github.event.changes.new_repository.compare_url | string | required | |
github.event.changes.new_repository.contents_url | string | required | |
github.event.changes.new_repository.contributors_url | string | required | |
github.event.changes.new_repository.deployments_url | string | required | |
github.event.changes.new_repository.downloads_url | string | required | |
github.event.changes.new_repository.events_url | string | required | |
github.event.changes.new_repository.forks_url | string | required | |
github.event.changes.new_repository.git_commits_url | string | required | |
github.event.changes.new_repository.git_refs_url | string | required | |
github.event.changes.new_repository.git_tags_url | string | required | |
github.event.changes.new_repository.git_url | string | required | |
github.event.changes.new_repository.issue_comment_url | string | required | |
github.event.changes.new_repository.issue_events_url | string | required | |
github.event.changes.new_repository.issues_url | string | required | |
github.event.changes.new_repository.keys_url | string | required | |
github.event.changes.new_repository.labels_url | string | required | |
github.event.changes.new_repository.languages_url | string | required | |
github.event.changes.new_repository.merges_url | string | required | |
github.event.changes.new_repository.milestones_url | string | required | |
github.event.changes.new_repository.notifications_url | string | required | |
github.event.changes.new_repository.pulls_url | string | required | |
github.event.changes.new_repository.releases_url | string | required | |
github.event.changes.new_repository.ssh_url | string | required | |
github.event.changes.new_repository.stargazers_url | string | required | |
github.event.changes.new_repository.statuses_url | string | required | |
github.event.changes.new_repository.subscribers_url | string | required | |
github.event.changes.new_repository.subscription_url | string | required | |
github.event.changes.new_repository.tags_url | string | required | |
github.event.changes.new_repository.teams_url | string | required | |
github.event.changes.new_repository.trees_url | string | required | |
github.event.changes.new_repository.clone_url | string | required | |
github.event.changes.new_repository.mirror_url | string or null | required | |
github.event.changes.new_repository.hooks_url | string | required | |
github.event.changes.new_repository.svn_url | string | required | |
github.event.changes.new_repository.homepage | string or null | required | |
github.event.changes.new_repository.language | string or null | required | |
github.event.changes.new_repository.forks_count | integer | required | |
github.event.changes.new_repository.stargazers_count | integer | required | |
github.event.changes.new_repository.watchers_count | integer | required | |
github.event.changes.new_repository.size | integer | required | The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0. |
github.event.changes.new_repository.default_branch | string | required | The default branch of the repository. |
github.event.changes.new_repository.open_issues_count | integer | required | |
github.event.changes.new_repository.is_template | boolean | optional | Whether this repository acts as a template that can be used to generate new repositories. |
github.event.changes.new_repository.topics | array of strings | optional | |
github.event.changes.new_repository.custom_properties | object | optional | The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. |
github.event.changes.new_repository.has_issues | boolean | required | Whether issues are enabled. |
github.event.changes.new_repository.has_projects | boolean | required | Whether projects are enabled. |
github.event.changes.new_repository.has_wiki | boolean | required | Whether the wiki is enabled. |
github.event.changes.new_repository.has_pages | boolean | required | |
github.event.changes.new_repository.has_downloads | boolean | required | Whether downloads are enabled. |
github.event.changes.new_repository.has_discussions | boolean | optional | Whether discussions are enabled. |
github.event.changes.new_repository.archived | boolean | required | Whether the repository is archived. |
github.event.changes.new_repository.disabled | boolean | required | Returns whether or not this repository disabled. |
github.event.changes.new_repository.visibility | string | optional | The repository visibility: public, private, or internal. |
github.event.changes.new_repository.pushed_at | string or null | required | |
github.event.changes.new_repository.created_at | string or null | required | |
github.event.changes.new_repository.updated_at | string or null | required | |
github.event.changes.new_repository.allow_rebase_merge | boolean | optional | Whether to allow rebase merges for pull requests. |
github.event.changes.new_repository.template_repository | object or null | optional | |
github.event.changes.new_repository.template_repository.id | integer | optional | |
github.event.changes.new_repository.template_repository.node_id | string | optional | |
github.event.changes.new_repository.template_repository.name | string | optional | |
github.event.changes.new_repository.template_repository.full_name | string | optional | |
github.event.changes.new_repository.template_repository.owner | object | optional | |
github.event.changes.new_repository.template_repository.owner.login | string | optional | |
github.event.changes.new_repository.template_repository.owner.id | integer | optional | |
github.event.changes.new_repository.template_repository.owner.node_id | string | optional | |
github.event.changes.new_repository.template_repository.owner.avatar_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.gravatar_id | string | optional | |
github.event.changes.new_repository.template_repository.owner.url | string | optional | |
github.event.changes.new_repository.template_repository.owner.html_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.followers_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.following_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.gists_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.starred_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.subscriptions_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.organizations_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.repos_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.events_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.received_events_url | string | optional | |
github.event.changes.new_repository.template_repository.owner.type | string | optional | |
github.event.changes.new_repository.template_repository.owner.site_admin | boolean | optional | |
github.event.changes.new_repository.template_repository.private | boolean | optional | |
github.event.changes.new_repository.template_repository.html_url | string | optional | |
github.event.changes.new_repository.template_repository.description | string | optional | |
github.event.changes.new_repository.template_repository.fork | boolean | optional | |
github.event.changes.new_repository.template_repository.url | string | optional | |
github.event.changes.new_repository.template_repository.archive_url | string | optional | |
github.event.changes.new_repository.template_repository.assignees_url | string | optional | |
github.event.changes.new_repository.template_repository.blobs_url | string | optional | |
github.event.changes.new_repository.template_repository.branches_url | string | optional | |
github.event.changes.new_repository.template_repository.collaborators_url | string | optional | |
github.event.changes.new_repository.template_repository.comments_url | string | optional | |
github.event.changes.new_repository.template_repository.commits_url | string | optional | |
github.event.changes.new_repository.template_repository.compare_url | string | optional | |
github.event.changes.new_repository.template_repository.contents_url | string | optional | |
github.event.changes.new_repository.template_repository.contributors_url | string | optional | |
github.event.changes.new_repository.template_repository.deployments_url | string | optional | |
github.event.changes.new_repository.template_repository.downloads_url | string | optional | |
github.event.changes.new_repository.template_repository.events_url | string | optional | |
github.event.changes.new_repository.template_repository.forks_url | string | optional | |
github.event.changes.new_repository.template_repository.git_commits_url | string | optional | |
github.event.changes.new_repository.template_repository.git_refs_url | string | optional | |
github.event.changes.new_repository.template_repository.git_tags_url | string | optional | |
github.event.changes.new_repository.template_repository.git_url | string | optional | |
github.event.changes.new_repository.template_repository.issue_comment_url | string | optional | |
github.event.changes.new_repository.template_repository.issue_events_url | string | optional | |
github.event.changes.new_repository.template_repository.issues_url | string | optional | |
github.event.changes.new_repository.template_repository.keys_url | string | optional | |
github.event.changes.new_repository.template_repository.labels_url | string | optional | |
github.event.changes.new_repository.template_repository.languages_url | string | optional | |
github.event.changes.new_repository.template_repository.merges_url | string | optional | |
github.event.changes.new_repository.template_repository.milestones_url | string | optional | |
github.event.changes.new_repository.template_repository.notifications_url | string | optional | |
github.event.changes.new_repository.template_repository.pulls_url | string | optional | |
github.event.changes.new_repository.template_repository.releases_url | string | optional | |
github.event.changes.new_repository.template_repository.ssh_url | string | optional | |
github.event.changes.new_repository.template_repository.stargazers_url | string | optional | |
github.event.changes.new_repository.template_repository.statuses_url | string | optional | |
github.event.changes.new_repository.template_repository.subscribers_url | string | optional | |
github.event.changes.new_repository.template_repository.subscription_url | string | optional | |
github.event.changes.new_repository.template_repository.tags_url | string | optional | |
github.event.changes.new_repository.template_repository.teams_url | string | optional | |
github.event.changes.new_repository.template_repository.trees_url | string | optional | |
github.event.changes.new_repository.template_repository.clone_url | string | optional | |
github.event.changes.new_repository.template_repository.mirror_url | string | optional | |
github.event.changes.new_repository.template_repository.hooks_url | string | optional | |
github.event.changes.new_repository.template_repository.svn_url | string | optional | |
github.event.changes.new_repository.template_repository.homepage | string | optional | |
github.event.changes.new_repository.template_repository.language | string | optional | |
github.event.changes.new_repository.template_repository.forks_count | integer | optional | |
github.event.changes.new_repository.template_repository.stargazers_count | integer | optional | |
github.event.changes.new_repository.template_repository.watchers_count | integer | optional | |
github.event.changes.new_repository.template_repository.size | integer | optional | |
github.event.changes.new_repository.template_repository.default_branch | string | optional | |
github.event.changes.new_repository.template_repository.open_issues_count | integer | optional | |
github.event.changes.new_repository.template_repository.is_template | boolean | optional | |
github.event.changes.new_repository.template_repository.topics | array of strings | optional | |
github.event.changes.new_repository.template_repository.has_issues | boolean | optional | |
github.event.changes.new_repository.template_repository.has_projects | boolean | optional | |
github.event.changes.new_repository.template_repository.has_wiki | boolean | optional | |
github.event.changes.new_repository.template_repository.has_pages | boolean | optional | |
github.event.changes.new_repository.template_repository.has_downloads | boolean | optional | |
github.event.changes.new_repository.template_repository.archived | boolean | optional | |
github.event.changes.new_repository.template_repository.disabled | boolean | optional | |
github.event.changes.new_repository.template_repository.visibility | string | optional | |
github.event.changes.new_repository.template_repository.pushed_at | string | optional | |
github.event.changes.new_repository.template_repository.created_at | string | optional | |
github.event.changes.new_repository.template_repository.updated_at | string | optional | |
github.event.changes.new_repository.template_repository.permissions | object | optional | |
github.event.changes.new_repository.template_repository.permissions.admin | boolean | optional | |
github.event.changes.new_repository.template_repository.permissions.maintain | boolean | optional | |
github.event.changes.new_repository.template_repository.permissions.push | boolean | optional | |
github.event.changes.new_repository.template_repository.permissions.triage | boolean | optional | |
github.event.changes.new_repository.template_repository.permissions.pull | boolean | optional | |
github.event.changes.new_repository.template_repository.allow_rebase_merge | boolean | optional | |
github.event.changes.new_repository.template_repository.temp_clone_token | string | optional | |
github.event.changes.new_repository.template_repository.allow_squash_merge | boolean | optional | |
github.event.changes.new_repository.template_repository.allow_auto_merge | boolean | optional | |
github.event.changes.new_repository.template_repository.delete_branch_on_merge | boolean | optional | |
github.event.changes.new_repository.template_repository.allow_update_branch | boolean | optional | |
github.event.changes.new_repository.template_repository.use_squash_pr_title_as_default | boolean | optional | |
github.event.changes.new_repository.template_repository.squash_merge_commit_title | PR_TITLE , COMMIT_OR_PR_TITLE | optional | The default value for a squash merge commit title:
|
github.event.changes.new_repository.template_repository.squash_merge_commit_message | PR_BODY , COMMIT_MESSAGES , BLANK | optional | The default value for a squash merge commit message:
|
github.event.changes.new_repository.template_repository.merge_commit_title | PR_TITLE , MERGE_MESSAGE | optional | The default value for a merge commit title.
|
github.event.changes.new_repository.template_repository.merge_commit_message | PR_BODY , PR_TITLE , BLANK | optional | The default value for a merge commit message.
|
github.event.changes.new_repository.template_repository.allow_merge_commit | boolean | optional | |
github.event.changes.new_repository.template_repository.subscribers_count | integer | optional | |
github.event.changes.new_repository.template_repository.network_count | integer | optional | |
github.event.changes.new_repository.temp_clone_token | string | optional | |
github.event.changes.new_repository.allow_squash_merge | boolean | optional | Whether to allow squash merges for pull requests. |
github.event.changes.new_repository.allow_auto_merge | boolean | optional | Whether to allow Auto-merge to be used on pull requests. |
github.event.changes.new_repository.delete_branch_on_merge | boolean | optional | Whether to delete head branches when pull requests are merged |
github.event.changes.new_repository.allow_update_branch | boolean | optional | Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging. |
github.event.changes.new_repository.use_squash_pr_title_as_default | boolean | optional | Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use |
github.event.changes.new_repository.squash_merge_commit_title | PR_TITLE , COMMIT_OR_PR_TITLE | optional | The default value for a squash merge commit title:
|
github.event.changes.new_repository.squash_merge_commit_message | PR_BODY , COMMIT_MESSAGES , BLANK | optional | The default value for a squash merge commit message:
|
github.event.changes.new_repository.merge_commit_title | PR_TITLE , MERGE_MESSAGE | optional | The default value for a merge commit title.
|
github.event.changes.new_repository.merge_commit_message | PR_BODY , PR_TITLE , BLANK | optional | The default value for a merge commit message.
|
github.event.changes.new_repository.allow_merge_commit | boolean | optional | Whether to allow merge commits for pull requests. |
github.event.changes.new_repository.allow_forking | boolean | optional | Whether to allow forking this repo |
github.event.changes.new_repository.web_commit_signoff_required | boolean | optional | Whether to require contributors to sign off on web-based commits |
github.event.changes.new_repository.subscribers_count | integer | optional | |
github.event.changes.new_repository.network_count | integer | optional | |
github.event.changes.new_repository.open_issues | integer | required | |
github.event.changes.new_repository.watchers | integer | required | |
github.event.changes.new_repository.master_branch | string | optional | |
github.event.changes.new_repository.starred_at | string | optional | |
github.event.changes.new_repository.anonymous_access_enabled | boolean | optional | Whether anonymous git access is enabled for this repository |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
unanswered
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | unanswered | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.old_answer | object | required | |
github.event.old_answer.author_association | COLLABORATOR , CONTRIBUTOR , FIRST_TIMER , FIRST_TIME_CONTRIBUTOR , MANNEQUIN , MEMBER , NONE , OWNER | required | How the author is associated with the repository. |
github.event.old_answer.body | string | required | |
github.event.old_answer.child_comment_count | integer | required | |
github.event.old_answer.created_at | string | required | |
github.event.old_answer.discussion_id | integer | required | |
github.event.old_answer.html_url | string | required | |
github.event.old_answer.id | integer | required | |
github.event.old_answer.node_id | string | required | |
github.event.old_answer.parent_id | null | required | |
github.event.old_answer.reactions | object | optional | |
github.event.old_answer.reactions.+1 | integer | required | |
github.event.old_answer.reactions.-1 | integer | required | |
github.event.old_answer.reactions.confused | integer | required | |
github.event.old_answer.reactions.eyes | integer | required | |
github.event.old_answer.reactions.heart | integer | required | |
github.event.old_answer.reactions.hooray | integer | required | |
github.event.old_answer.reactions.laugh | integer | required | |
github.event.old_answer.reactions.rocket | integer | required | |
github.event.old_answer.reactions.total_count | integer | required | |
github.event.old_answer.reactions.url | string | required | |
github.event.old_answer.repository_url | string | required | |
github.event.old_answer.updated_at | string | required | |
github.event.old_answer.user | object or null | required | |
github.event.old_answer.user.avatar_url | string | optional | |
github.event.old_answer.user.deleted | boolean | optional | |
github.event.old_answer.user.email | string or null | optional | |
github.event.old_answer.user.events_url | string | optional | |
github.event.old_answer.user.followers_url | string | optional | |
github.event.old_answer.user.following_url | string | optional | |
github.event.old_answer.user.gists_url | string | optional | |
github.event.old_answer.user.gravatar_id | string | optional | |
github.event.old_answer.user.html_url | string | optional | |
github.event.old_answer.user.id | integer | required | |
github.event.old_answer.user.login | string | required | |
github.event.old_answer.user.name | string | optional | |
github.event.old_answer.user.node_id | string | optional | |
github.event.old_answer.user.organizations_url | string | optional | |
github.event.old_answer.user.received_events_url | string | optional | |
github.event.old_answer.user.repos_url | string | optional | |
github.event.old_answer.user.site_admin | boolean | optional | |
github.event.old_answer.user.starred_url | string | optional | |
github.event.old_answer.user.subscriptions_url | string | optional | |
github.event.old_answer.user.type | Bot , User , Organization | optional | |
github.event.old_answer.user.url | string | optional | |
github.event.sender | object | optional | The GitHub user that triggered the event. This property is included in every webhook payload. |
unlabeled
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | unlabeled | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.label | object | required | |
github.event.label.color | string | required | 6-character hex code, without the leading #, identifying the color |
github.event.label.default | boolean | required | |
github.event.label.description | string or null | required | |
github.event.label.id | integer | required | |
github.event.label.name | string | required | The name of the label. |
github.event.label.node_id | string | required | |
github.event.label.url | string | required | URL for the label |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
unlocked
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | unlocked | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |
unpinned
#
This event occurs when there is activity relating to a discussion. For more information about discussions, see "GitHub Discussions." For information about the API to manage discussions, see the GraphQL documentation.
For activity relating to a comment on a discussion, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Discussions" repository permission.
Note: Webhook events for GitHub Discussions are currently in beta and subject to change.
field | type | required | description |
---|---|---|---|
github.event.action | unpinned | required | |
github.event.discussion.body | string | required | |
github.event.discussion.reactions.+1 | integer | required | |
github.event.discussion.reactions.-1 | integer | required | |
github.event.discussion.reactions.confused | integer | required | |
github.event.discussion.reactions.eyes | integer | required | |
github.event.discussion.reactions.heart | integer | required | |
github.event.discussion.reactions.hooray | integer | required | |
github.event.discussion.reactions.laugh | integer | required | |
github.event.discussion.reactions.rocket | integer | required | |
github.event.discussion.reactions.total_count | integer | required | |
github.event.discussion.reactions.url | string | required | |
github.event.discussion.state | open , closed , locked , converting , transferring | required | The current state of the discussion. |
github.event.discussion.state_reason | resolved , outdated , duplicate , reopened , None | required | The reason for the current state |
github.event.enterprise | object | optional | An enterprise on GitHub. Webhook payloads contain the |
github.event.installation | object | optional | The GitHub App installation. Webhook payloads contain the |
github.event.sender | object | required | The GitHub user that triggered the event. This property is included in every webhook payload. |