웹후크를 구성할 때 UI 또는 API를 사용하여 페이로드를 보낼 이벤트를 선택할 수 있습니다. 처리하려는 특정 이벤트만 구독하면 서버에 대한 HTTP 요청 수가 제한됩니다. 모든 현재 및 향후 이벤트를 구독할 수도 있습니다. 기본적으로 웹후크는 푸시 이벤트에만 구독됩니다. 언제든지 구독된 이벤트 목록을 변경할 수 있습니다.
이 페이지에 나열된 이벤트를 구독하는 웹후크를 만들 수 있습니다. 각 웹후크 이벤트에는 웹후크 속성에 대한 설명과 예제 페이로드가 포함됩니다. 자세한 내용은 "웹후크 만들기"을 참조하세요.
웹후크 페이로드 개체 공통 속성
각 웹후크 이벤트 페이로드에는 이벤트에 고유한 속성도 포함되어 있습니다. 개별 이벤트 유형 섹션에서 고유한 속성을 찾을 수 있습니다.
키 | 형식 | 설명 |
---|---|---|
action | string | 대부분의 웹후크 페이로드에는 이벤트를 트리거한 특정 활동을 포함하는 action 속성이 있습니다. |
sender | object | 이벤트를 트리거한 사용자입니다. 이 속성은 모든 웹후크 페이로드에 포함됩니다. |
repository | object | 이벤트가 발생한 repository 입니다. 웹후크 페이로드는 리포지토리의 활동에서 이벤트가 발생할 때 repository 속성을 포함합니다. |
organization | object | 웹후크 페이로드는 웹후크가 조직에 대해 구성되거나 이벤트가 조직 소유 리포지토리의 작업에서 발생하는 경우 organization 개체를 포함합니다. installation |
웹후크 이벤트에 대한 고유 속성은 이벤트 API를 사용할 때 payload
속성에서 찾을 수 있는 것과 동일한 속성입니다. 한 가지 예외는 push
이벤트입니다. push
이벤트 웹후크 페이로드의 고유 속성과 이벤트 API의 payload
속성은 다릅니다. 웹후크 페이로드에는 자세한 정보가 포함되어 있습니다.
참고: 페이로드는 25MB로 제한됩니다. 이벤트가 더 큰 페이로드를 생성하는 경우에는 웹후크가 발생하지 않습니다. 예를 들어 여러 분기 또는 태그가 한 번에 푸시되는 경우 create
이벤트에 대해 발생할 수 있습니다. 배달을 보장하기 위해 페이로드 크기를 모니터링하는 것이 좋습니다.
배달 헤더
웹후크의 구성된 URL 엔드포인트로 배달되는 HTTP POST 페이로드는 다음과 같은 몇 가지 특수 헤더를 포함합니다.
헤더 | 설명 |
---|---|
X-GitHub-Event | 배달을 트리거한 이벤트의 이름입니다. |
X-GitHub-Delivery | 배달을 식별하는 GUID입니다. |
X-GitHub-Enterprise-Version | HTTP POST 페이로드를 보낸 GitHub Enterprise Server 인스턴스의 버전입니다. |
X-GitHub-Enterprise-Host | HTTP POST 페이로드를 보낸 GitHub Enterprise Server 인스턴스의 호스트 이름입니다. |
X-Hub-Signature-256 | 웹후크가 secret 로 구성된 경우 이 헤더가 전송됩니다. 이는 요청 본문의 HMAC 16진수 다이제스트이며 SHA-256 해시 함수 및 secret 을 HMAC key 로 사용하여 생성됩니다. |
또한 요청에 대한 User-Agent
에는 접두사 GitHub-Hookshot/
이 있습니다.
배달 예제
> POST /payload HTTP/2
> Host: localhost:4567
> X-GitHub-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
> X-GitHub-Enterprise-Version: 2.15.0
> X-GitHub-Enterprise-Host: example.com
> X-Hub-Signature-256: sha256=d57c68ca6f92289e6987922ff26938930f6e66a2d161ef06abdf1859230aa23c
> User-Agent: GitHub-Hookshot/044aadd
> Content-Type: application/json
> Content-Length: 6615
> X-GitHub-Event: issues
> {
> "action": "opened",
> "issue": {
> "url": "https://HOSTNAME/api/v3/repos/octocat/Hello-World/issues/1347",
> "number": 1347,
> ...
> },
> "repository" : {
> "id": 1296269,
> "full_name": "octocat/Hello-World",
> "owner": {
> "login": "octocat",
> "id": 1,
> ...
> },
> ...
> },
> "sender": {
> "login": "octocat",
> "id": 1,
> ...
> }
> }
branch_protection_rule
This event occurs when there is activity relating to branch protection rules. For more information, see "About protected branches." For information about the APIs to manage branch protection rules, see the GraphQL documentation or "Branch protection" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission
에 대한 가용성 branch_protection_rule
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 branch_protection_rule
A branch protection rule was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
rule object필수The branch protection rule. Includes a | |||
Properties of | |||
sender object필수A GitHub user. |
check_run
This event occurs when there is activity relating to a check run. For information about check runs, see "Getting started with the Checks API." For information about the APIs to manage check runs, see the GraphQL API documentation or "Check Runs" in the REST API documentation.
For activity relating to check suites, use the check-suite
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" repository permission. To receive the rerequested
and requested_action
event types, the app must have at least write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event.
Repository and organization webhooks only receive payloads for the created
and completed
event types in repositories.
Note: The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests
array and a null
value for head_branch
.
에 대한 가용성 check_run
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 check_run
A check run was completed, and a conclusion is available.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string값: | |||
check_run object필수A check performed on the code of a given code change | |||
Properties of | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
check_suite
This event occurs when there is activity relating to a check suite. For information about check suites, see "Getting started with the Checks API." For information about the APIs to manage check suites, see the GraphQL API documentation or "Check Suites" in the REST API documentation.
For activity relating to check runs, use the check_run
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Checks" permission. To receive the requested
and rerequested
event types, the app must have at lease write-level access for the "Checks" permission. GitHub Apps with write-level access for the "Checks" permission are automatically subscribed to this webhook event.
Repository and organization webhooks only receive payloads for the completed
event types in repositories.
Note: The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests
array and a null
value for head_branch
.
에 대한 가용성 check_suite
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 check_suite
All check runs in a check suite have completed, and a conclusion is available.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
actions_meta object or null | |||
check_suite object필수The check_suite. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
code_scanning_alert
This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see "About code scanning" and "About code scanning alerts." For information about the API to manage code scanning, see "Code scanning" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Code scanning alerts" repository permission.
에 대한 가용성 code_scanning_alert
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 code_scanning_alert
A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
alert object필수The code scanning alert involved in the event. | |||
Properties of | |||
commit_oid string필수The commit SHA of the code scanning alert. When the action is | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
ref string필수The Git reference of the code scanning alert. When the action is | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
commit_comment
This event occurs when there is activity relating to commit comments. For more information about commit comments, see "Commenting on a pull request." For information about the APIs to manage commit comments, see the GraphQL API documentation or "Commit comments" in the REST API documentation.
For activity relating to comments on pull request reviews, use the pull_request_review_comment
event. For activity relating to issue comments, use the issue_comment
event. For activity relating to discussion comments, use the discussion_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
에 대한 가용성 commit_comment
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 commit_comment
Someone commented on a commit.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수The action performed. Can be 값: | |||
comment object필수The commit comment resource. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
create
This event occurs when a Git branch or tag is created.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
Note: This event will not occur when more than three tags are created at once.
에 대한 가용성 create
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 create
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
description string or null필수The repository's current description. |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
master_branch string필수The name of the repository's default branch (usually |
organization objectA GitHub organization. |
pusher_type string필수The pusher type for the event. Can be either |
ref string필수The |
ref_type string필수The type of Git ref object created in the repository. 다음 중 하나일 수 있습니다.: |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
delete
This event occurs when a Git branch or tag is deleted.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
Note: This event will not occur when more than three tags are deleted at once.
에 대한 가용성 delete
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 delete
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
pusher_type string필수The pusher type for the event. Can be either |
ref string필수The |
ref_type string필수The type of Git ref object deleted in the repository. 다음 중 하나일 수 있습니다.: |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
dependabot_alert
This event occurs when there is activity relating to Dependabot alerts.
For more information about Dependabot alerts, see "About Dependabot alerts." For information about the API to manage Dependabot alerts, see "Dependabot alerts" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Dependabot alerts" repository permission.
Note: Webhook events for Dependabot alerts are currently in beta and subject to change.
에 대한 가용성 dependabot_alert
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 dependabot_alert
A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
alert object필수A Dependabot alert. | |||
Properties of | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
enterprise objectAn enterprise on GitHub. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
deploy_key
This event occurs when there is activity relating to deploy keys. For more information, see "Managing deploy keys." For information about the APIs to manage deploy keys, see the GraphQL API documentation or "Deploy keys" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission.
에 대한 가용성 deploy_key
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 deploy_key
A deploy key was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
key object필수The | |||
Properties of | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
deployment
This event occurs when there is activity relating to deployments. For more information, see "About deployments." For information about the APIs to manage deployments, see the GraphQL API documentation or "Deployments" in the REST API documentation.
For activity relating to deployment status, use the deployment_status
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission.
에 대한 가용성 deployment
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 deployment
A deployment was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
deployment object필수The deployment. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. | |||
workflow object or null필수 | |||
workflow_run object or null필수 |
deployment_status
This event occurs when there is activity relating to deployment statuses. For more information, see "About deployments." For information about the APIs to manage deployments, see the GraphQL API documentation or "Deployments" in the REST API documentation.
For activity relating to deployment creation, use the deployment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Deployments" repository permission.
에 대한 가용성 deployment_status
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 deployment_status
A new deployment status was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
check_run object or null | |||
deployment object필수The deployment. | |||
Properties of | |||
deployment_status object필수The deployment status. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. | |||
workflow object or null | |||
workflow_run object or null |
discussion
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.
에 대한 가용성 discussion
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 discussion
A comment on the discussion was marked as the answer.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
answer object필수 | |||
Properties of | |||
discussion object필수A Discussion in a repository. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
discussion_comment
This event occurs when there is activity relating to a comment on 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 discussion as opposed to comments on a discussion, use the discussion
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.
에 대한 가용성 discussion_comment
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 discussion_comment
A comment on a discussion was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
comment object필수 | |||
Properties of | |||
discussion object필수A Discussion in a repository. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
fork
This event occurs when someone forks a repository. For more information, see "Fork a repo." For information about the API to manage forks, see "Forks" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
에 대한 가용성 fork
- 엔터프라이즈
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 fork
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
enterprise objectAn enterprise on GitHub. |
forkee 필수The created |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
github_app_authorization
This event occurs when a user revokes their authorization of a GitHub App. For more information, see "About apps." For information about the API to manage GitHub Apps, see the GraphQL API documentation or "Apps" in the REST API documentation.
A GitHub App receives this webhook by default and cannot unsubscribe from this event.
Anyone can revoke their authorization of a GitHub App from their GitHub account settings page. Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the 401 Bad Credentials
error. For details about user-to-server requests, which require GitHub App authorization, see "Identifying and authorizing users for GitHub Apps."
에 대한 가용성 github_app_authorization
- GitHub 앱
에 대한 웹후크 페이로드 개체 github_app_authorization
Someone revoked their authorization of a GitHub App.
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수값: |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository objectA repository on GitHub. |
sender object필수A GitHub user. |
gollum
This event occurs when someone creates or updates a wiki page. For more information, see "About wikis."
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
에 대한 가용성 gollum
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 gollum
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
pages array of objects필수The pages that were updated. | |||
Properties of | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
installation
This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.
For more information about GitHub Apps, see "About apps." For information about the APIs to manage GitHub Apps, see the GraphQL API documentation or "Apps" in the REST API documentation.
에 대한 가용성 installation
- GitHub 앱
에 대한 웹후크 페이로드 개체 installation
Someone installed a GitHub App on a user or organization account.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation object필수Installation | |||
organization objectA GitHub organization. | |||
repositories array of objectsAn array of repository objects that the installation can access. | |||
Properties of | |||
repository objectA repository on GitHub. | |||
requester object or null | |||
sender object필수A GitHub user. |
installation_repositories
This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.
For more information about GitHub Apps, see "About apps." For information about the APIs to manage GitHub Apps, see the GraphQL API documentation or "Apps" in the REST API documentation.
에 대한 가용성 installation_repositories
- GitHub 앱
에 대한 웹후크 페이로드 개체 installation_repositories
A GitHub App installation was granted access to one or more repositories.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation object필수Installation | |||
organization objectA GitHub organization. | |||
repositories_added array of objects필수An array of repository objects, which were added to the installation. | |||
Properties of | |||
repositories_removed array of objects필수An array of repository objects, which were removed from the installation. | |||
Properties of | |||
repository objectA repository on GitHub. | |||
repository_selection string필수Describe whether all repositories have been selected or there's a selection involved 다음 중 하나일 수 있습니다.: | |||
requester object or null필수 | |||
sender object필수A GitHub user. |
installation_target
This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see "About apps." For information about the APIs to manage GitHub Apps, see the GraphQL API documentation or "Apps" in the REST API documentation.
에 대한 가용성 installation_target
- GitHub 앱
에 대한 웹후크 페이로드 개체 installation_target
Somebody renamed the user or organization account that a GitHub App is installed on.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
account object필수 | |||
Properties of | |||
action string필수 | |||
changes object필수 | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation object필수The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository objectA repository on GitHub. | |||
sender objectA GitHub user. | |||
target_type string필수 |
issue_comment
This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see "About issues" and "About pull requests." For information about the APIs to manage issue comments, see the GraphQL documentation or "Issue comments" in the REST API documentation.
For activity relating to an issue as opposed to comments on an issue, use the issue
event. For activity related to pull request reviews or pull request review comments, use the pull_request_review
or pull_request_review_comment
events. For more information about the different types of pull request comments, see "Working with comments."
To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions.
에 대한 가용성 issue_comment
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 issue_comment
A comment on an issue or pull request was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
comment object필수The comment itself. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
issue 필수The issue the comment belongs to. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
issues
This event occurs when there is activity relating to an issue. For more information about issues, see "About issues." For information about the APIs to manage issues, see the GraphQL documentation or "Issues" in the REST API documentation.
For activity relating to a comment on an issue, use the issue_comment
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permission.
에 대한 가용성 issues
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 issues
An issue was assigned to a user.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수The action that was performed. 값: | |||
assignee object or null | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
issue object필수The issue itself. | |||
Properties of | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
label
This event occurs when there is activity relating to labels. For more information, see "Managing labels." For information about the APIs to manage labels, see the GraphQL documentation or "Labels" in the REST API documentation.
If you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the labeled
or unlabeled
action type for the issues
, pull_request
, or discussion
events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission.
에 대한 가용성 label
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 label
A label was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
label object필수 | |||
Properties of | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender objectA GitHub user. |
member
This event occurs when there is activity relating to collaborators in a repository. For more information, see "Adding outside collaborators to repositories in your organization." For more information about the API to manage repository collaborators, see the GraphQL API documentation or "Collaborators" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission.
에 대한 가용성 member
- 엔터프라이즈
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 member
A GitHub user accepted an invitation to a repository.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
changes object | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
member object or null필수 | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
membership
This event occurs when there is activity relating to team membership. For more information, see "About teams." For more information about the APIs to manage team memberships, see the GraphQL API documentation or "Team members" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission.
에 대한 가용성 membership
- 조직
- 엔터프라이즈
- GitHub 앱
에 대한 웹후크 페이로드 개체 membership
An organization member was added to a team.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
member object or null필수 | |||
organization object필수A GitHub organization. | |||
repository objectA repository on GitHub. | |||
scope string필수The scope of the membership. Currently, can only be 값: | |||
sender object or null필수 | |||
team object필수Groups of organization members that gives permissions on specified repositories. | |||
Properties of |
merge_group
This event occurs when there is activity relating to a merge group in a merge queue. For more information, see "Managing a merge queue."
To subscribe to this event, a GitHub App must have at least read-level access for the "Merge queues" repository permission.
Note: The pull request merge queue feature is currently in public beta and subject to change.
에 대한 가용성 merge_group
- GitHub 앱
에 대한 웹후크 페이로드 개체 merge_group
Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.
When you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수 | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
merge_group object필수 | |||
Properties of | |||
organization objectA GitHub organization. | |||
repository objectA repository on GitHub. | |||
sender objectA GitHub user. |
meta
This event occurs when there is activity relating to a webhook itself.
To subscribe to this event, a GitHub App must have at least read-level access for the "Meta" app permission.
에 대한 가용성 meta
- GitHub Marketplace
- 엔터프라이즈
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 meta
The webhook was deleted.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
hook object필수The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. | |||
Properties of | |||
hook_id integer필수The id of the modified webhook. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository objectA repository on GitHub. | |||
sender objectA GitHub user. |
milestone
This event occurs when there is activity relating to milestones. For more information, see "About milestones." For information about the APIs to manage milestones, see the GraphQL documentation or "Milestones" in the REST API documentation.
If you want to receive an event when an issue or pull request is added to or removed from a milestone, use the milestoned
or demilestoned
action type for the issues
or pull_request
events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" or "Pull requests" repository permissions.
에 대한 가용성 milestone
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 milestone
A milestone was closed.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
milestone object필수A collection of related issues and pull requests. | |||
Properties of | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
organization
This event occurs when there is activity relating to an organization and its members. For more information, see "About organizations." For information about the APIs to manage organizations, see the GraphQL documentation or "Organizations" in the REST API documentation.
If you want to receive an event when a non-member is blocked or unblocked from an organization, use the org_block
event instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission.
에 대한 가용성 organization
- 조직
- 엔터프라이즈
- GitHub 앱
에 대한 웹후크 페이로드 개체 organization
An organization was deleted.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
membership objectThe membership between the user and the organization. Not present when the action is | |||
Properties of | |||
organization object필수A GitHub organization. | |||
repository objectA repository on GitHub. | |||
sender object필수A GitHub user. |
package
This event occurs when there is activity relating to GitHub Packages. For more information, see "Introduction to GitHub Packages." For information about the APIs to manage GitHub Packages, see the GraphQL API documentation or "Packages" in the REST API documentation.
To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission.
에 대한 가용성 package
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 package
A package was published to a registry.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
package object필수Information about the package. | |||
Properties of | |||
repository objectA repository on GitHub. | |||
sender object필수A GitHub user. |
page_build
This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see "Configuring a publishing source for your GitHub Pages site." For information about the API to manage GitHub Pages, see "Pages" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Pages" repository permission.
에 대한 가용성 page_build
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 page_build
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
build object필수The List GitHub Pages builds itself. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
id integer필수 | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
ping
This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.
에 대한 가용성 ping
- 리포지토리
- 조직
- GitHub 앱
- 엔터프라이즈
- GitHub Marketplace
에 대한 웹후크 페이로드 개체 ping
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
hook objectThe webhook that is being pinged | |||
Properties of | |||
hook_id integerThe ID of the webhook that triggered the ping. | |||
organization objectA GitHub organization. | |||
repository objectA repository on GitHub. | |||
sender objectA GitHub user. | |||
zen stringRandom string of GitHub zen. |
project_card
This event occurs when there is activity relating to a card on a classic project. For more information, see "About projects (classic)." For information about the API to manage classic projects, see the GraphQL API documentation or "Projects (classic)" in the REST API documentation.
For activity relating to a project or a column on a project, use the project
and project_column
event. For activity relating to Projects instead of Projects (classic), use the projects_v2
event instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission.
에 대한 가용성 project_card
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 project_card
A note in a classic project was converted to an issue.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
changes object필수 | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
project_card object필수 | |||
Properties of | |||
repository objectA repository on GitHub. | |||
sender object필수A GitHub user. |
project
This event occurs when there is activity relating to a classic project. For more information, see "About projects (classic)." For information about the API to manage classic projects, see the GraphQL API documentation or "Projects (classic)" in the REST API documentation.
For activity relating to a card or column on a project, use the project_card
and project_column
event. For activity relating to Projects instead of Projects (classic), use the projects_v2
event instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission.
에 대한 가용성 project
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 project
A classic project was closed.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
project object필수 | |||
Properties of | |||
repository objectA repository on GitHub. | |||
sender object필수A GitHub user. |
project_column
This event occurs when there is activity relating to a column on a classic project. For more information, see "About projects (classic)." For information about the API to manage classic projects, see the GraphQL API documentation or "Projects (classic)" in the REST API documentation.
For activity relating to a project or a card on a project, use the project
and project_card
event. For activity relating to Projects instead of Projects (classic), use the projects_v2
event instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" repository or organization permission.
에 대한 가용성 project_column
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 project_column
A column was added to a classic project.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
project_column object필수 | |||
Properties of | |||
repository objectA repository on GitHub. | |||
sender objectA GitHub user. |
projects_v2
This event occurs when there is activity relating to an organization-level project. For more information, see "About Projects." For information about the Projects API, see the GraphQL documentation.
For activity relating to a item on a project, use the projects_v2_item
event. For activity relating to Projects (classic), use the project
, project_card, and
project_column` events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Projects" organization permission.
Note: Webhook events for projects are currently in beta and subject to change. To share feedback about projects webhooks with GitHub, see the Projects webhook feedback discussion.
에 대한 가용성 projects_v2
- 조직
에 대한 웹후크 페이로드 개체 projects_v2
A project in the organization was closed.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
organization object필수A GitHub organization. | |||
projects_v2 object필수A projects v2 project | |||
Properties of | |||
sender object필수A GitHub user. |
public
This event occurs when repository visibility changes from private to public. For more information, see "Setting repository visibility."
To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission.
에 대한 가용성 public
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 public
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
pull_request
This event occurs when there is activity on a pull request. For more information, see "About pull requests." For information about the APIs to manage pull requests, see the GraphQL API documentation or "Pulls" in the REST API documentation.
For activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the pull_request_review
, pull_request_review_comment
, issue_comment
, or pull_request_review_thread
events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission.
에 대한 가용성 pull_request
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 pull_request
A pull request was assigned to a user.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
assignee object or null필수 | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
number integer필수The pull request number. | |||
organization objectA GitHub organization. | |||
pull_request object필수 | |||
Properties of | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
pull_request_review_comment
This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see "Commenting on a pull request." For information about the APIs to manage pull request review comments, see the GraphQL API documentation or "Pull request review comments" in the REST API documentation.
For activity related to pull request reviews, pull request comments, or pull request review threads, use the pull_request_review
, issue_comment
, or pull_request_review_thread
events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission.
에 대한 가용성 pull_request_review_comment
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 pull_request_review_comment
A comment on a pull request diff was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
comment object필수The comment itself. | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
pull_request object필수 | |||
Properties of | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
pull_request_review
This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see "About pull request reviews." For information about the APIs to manage pull request reviews, see the GraphQL API documentation or "Pull request reviews" in the REST API documentation.
For activity related to pull request review comments, pull request comments, or pull request review threads, use the pull_request_review_comment
, issue_comment
, or pull_request_review_thread
events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission.
에 대한 가용성 pull_request_review
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 pull_request_review
A review on a pull request was dismissed.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
pull_request object필수 | |||
Properties of | |||
repository object필수A repository on GitHub. | |||
review object필수The review that was affected. | |||
Properties of | |||
sender object필수A GitHub user. |
pull_request_review_thread
This event occurs when there is activity relating to a comment thread on a pull request. For more information, see "About pull request reviews." For information about the APIs to manage pull request review comment threads, see the GraphQL API documentation or "Pull request reviews" in the REST API documentation.
For activity related to pull request review comments, pull request comments, or pull request reviews, use the pull_request_review_comment
, issue_comment
, or pull_request_review
events instead.
To subscribe to this event, a GitHub App must have at least read-level access for the "Pull requests" repository permission.
에 대한 가용성 pull_request_review_thread
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 pull_request_review_thread
A comment thread on a pull request was marked as resolved.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
pull_request object필수 | |||
Properties of | |||
repository object필수A repository on GitHub. | |||
sender objectA GitHub user. | |||
thread object필수 | |||
Properties of |
push
This event occurs when a commit or tag is pushed.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
Note: An event will not be created when more than three tags are pushed at once.
에 대한 가용성 push
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 push
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
after string필수The SHA of the most recent commit on | |||
base_ref string or null필수 | |||
before string필수The SHA of the most recent commit on | |||
commits array of objects필수An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the | |||
Properties of | |||
compare string필수URL that shows the changes in this | |||
created boolean필수Whether this push created the | |||
deleted boolean필수Whether this push deleted the | |||
enterprise objectAn enterprise on GitHub. | |||
forced boolean필수Whether this push was a force push of the | |||
head_commit object or null필수 | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
pusher object필수Metaproperties for Git author/committer information. | |||
Properties of | |||
ref string필수The full git ref that was pushed. Example: | |||
repository object필수A git repository | |||
sender objectA GitHub user. |
registry_package
This event occurs when there is activity relating to GitHub Packages. For more information, see "Introduction to GitHub Packages." For information about the APIs to manage GitHub Packages, see the GraphQL API documentation or "Packages" in the REST API documentation.
To install this event on a GitHub App, the app must have at least read-level access for the "Packages" repository permission.
Note: GitHub recommends that you use the newer package
event instead.
에 대한 가용성 registry_package
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 registry_package
A package was published to a registry.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
registry_package object필수 | |||
Properties of | |||
repository objectA repository on GitHub. | |||
sender object필수A GitHub user. |
release
This event occurs when there is activity relating to releases. For more information, see "About releases." For information about the APIs to manage releases, see the GraphQL API documentation or "Releases" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
에 대한 가용성 release
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 release
A draft was saved, or a release or pre-release was published without previously being saved as a draft.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
release object필수The release object. | |||
Properties of | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
repository
This event occurs when there is activity relating to repositories. For more information, see "About repositories." For information about the APIs to manage repositories, see the GraphQL documentation or "Repositories" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission.
에 대한 가용성 repository
- GitHub 앱
- 엔터프라이즈
- 조직
- 리포지토리
에 대한 웹후크 페이로드 개체 repository
Someone disabled anonymous Git read access to the repository. For more information, see "Enabling anonymous Git read access for a repository."
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수값: |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository objectA repository on GitHub. |
sender objectA GitHub user. |
repository_dispatch
This event occurs when a GitHub App sends a POST
request to /repos/{owner}/{repo}/dispatches
. For more information, see the REST API documentation for creating a repository dispatch event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
에 대한 가용성 repository_dispatch
- GitHub 앱
에 대한 웹후크 페이로드 개체 repository_dispatch
The event_type
that was specified in the POST /repos/{owner}/{repo}/dispatches
request body.
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수 |
branch string필수 |
client_payload object or null필수 |
enterprise objectAn enterprise on GitHub. |
installation object필수The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
secret_scanning_alert
This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see "About secret scanning." For information about the API to manage secret scanning alerts, see "Secret scanning" in the REST API documentation.
For activity relating to secret scanning alert locations, use the secret_scanning_alert_location
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission.
에 대한 가용성 secret_scanning_alert
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 secret_scanning_alert
A secret scanning alert was created.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
alert object필수 | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender objectA GitHub user. |
secret_scanning_alert_location
This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.
For more information about secret scanning, see "About secret scanning." For information about the API to manage secret scanning alerts, see "Secret scanning" in the REST API documentation.
For activity relating to secret scanning alerts, use the secret_scanning_alert
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Secret scanning alerts" repository permission.
에 대한 가용성 secret_scanning_alert_location
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 secret_scanning_alert_location
A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string값: | |||
alert object필수 | |||
Properties of | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
location object필수 | |||
Properties of | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. |
security_and_analysis
This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see "GitHub security features."
To subscribe to this event, a GitHub App must have at least read-level access for the "Administration" repository permission.
에 대한 가용성 security_and_analysis
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 security_and_analysis
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
changes object필수 | |||
Properties of | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수Full Repository | |||
sender objectA GitHub user. |
sponsorship
This event occurs when there is activity relating to a sponsorship listing. For more information, see "About GitHub Sponsors." For information about the API to manage sponsors, see the GraphQL documentation.
You can only create a sponsorship webhook on GitHub.com. For more information, see "Configuring webhooks for events in your sponsored account."
에 대한 가용성 sponsorship
- 스폰서 계정
에 대한 웹후크 페이로드 개체 sponsorship
A sponsorship was cancelled and the last billing cycle has ended.
This event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository objectA repository on GitHub. | |||
sender object필수A GitHub user. | |||
sponsorship object필수 | |||
Properties of |
star
This event occurs when there is activity relating to repository stars. For more information about stars, see "Saving repositories with stars." For information about the APIs to manage stars, see the GraphQL documentation or "Starring" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission.
에 대한 가용성 star
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 star
Someone starred a repository.
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수값: |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
starred_at string or null필수The time the star was created. This is a timestamp in ISO 8601 format: |
status
This event occurs when the status of a Git commit changes. For example, commits can be marked as error
, failure
, pending
, or success
. For more information, see "About status checks." For information about the APIs to manage commit statuses, see the GraphQL documentation or "Statuses" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Commit statuses" repository permission.
에 대한 가용성 status
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 status
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
avatar_url string or null | |||
branches array of objects필수An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches. | |||
Properties of | |||
commit object필수 | |||
Properties of | |||
context string필수 | |||
created_at string필수 | |||
description string or null필수The optional human-readable description added to the status. | |||
enterprise objectAn enterprise on GitHub. | |||
id integer필수The unique identifier of the status. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
name string필수 | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. | |||
sha string필수The Commit SHA. | |||
state string필수The new state. Can be 다음 중 하나일 수 있습니다.: | |||
target_url string or null필수The optional link added to the status. | |||
updated_at string필수 |
team_add
This event occurs when a team is added to a repository. For more information, see "Managing teams and people with access to your repository."
For activity relating to teams, see the teams
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission.
에 대한 가용성 team_add
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 team_add
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. | |||
team object필수Groups of organization members that gives permissions on specified repositories. | |||
Properties of |
team
This event occurs when there is activity relating to teams in an organization. For more information, see "About teams."
To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission.
에 대한 가용성 team
- 조직
- 엔터프라이즈
- GitHub 앱
에 대한 웹후크 페이로드 개체 team
A team was granted access to a repository.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization object필수A GitHub organization. | |||
repository objectA git repository | |||
sender objectA GitHub user. | |||
team object필수Groups of organization members that gives permissions on specified repositories. | |||
Properties of |
user
This event occurs when there is activity relating to user accounts in an enterprise.
에 대한 가용성 user
- 엔터프라이즈
에 대한 웹후크 페이로드 개체 user
A user account was added to the enterprise.
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수값: |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository objectA repository on GitHub. |
sender objectA GitHub user. |
user object or null |
watch
This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see "Managing your subscriptions." For information about the APIs to manage watching, see "Watching" in the REST API documentation.
To subscribe to this event, a GitHub App must have at least read-level access for the "Metadata" repository permission.
에 대한 가용성 watch
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 watch
Someone started watching the repository.
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수값: |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
workflow_dispatch
This event occurs when a GitHub Actions workflow is manually triggered. For more information, see "Manually running a workflow."
For activity relating to workflow runs, use the workflow_run
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Contents" repository permission.
에 대한 가용성 workflow_dispatch
- GitHub 앱
에 대한 웹후크 페이로드 개체 workflow_dispatch
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
enterprise objectAn enterprise on GitHub. |
inputs object or null필수 |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
ref string필수 |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
workflow string필수 |
workflow_job
This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see "Using jobs in a workflow." For information about the API to manage workflow jobs, see "Workflow jobs" in the REST API documentation.
For activity relating to a workflow run instead of a job in a workflow run, use the workflow_run
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission.
에 대한 가용성 workflow_job
- 엔터프라이즈
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 workflow_job
A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.
헤더 | |||
---|---|---|---|
속성, 형식, Description | |||
본문 매개 변수 | |||
속성, 형식, Description | |||
action string필수값: | |||
enterprise objectAn enterprise on GitHub. | |||
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. | |||
organization objectA GitHub organization. | |||
repository object필수A repository on GitHub. | |||
sender object필수A GitHub user. | |||
workflow_job 필수 | |||
deployment objectA request for a specific ref(branch,sha,tag) to be deployed | |||
Properties of |
workflow_run
This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see "About workflows." For information about the APIs to manage workflow runs, see the GraphQL documentation or "Workflow runs" in the REST API documentation.
For activity relating to a job in a workflow run, use the workflow_job
event.
To subscribe to this event, a GitHub App must have at least read-level access for the "Actions" repository permission.
에 대한 가용성 workflow_run
- 엔터프라이즈
- 리포지토리
- 조직
- GitHub 앱
에 대한 웹후크 페이로드 개체 workflow_run
A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.
헤더 |
---|
속성, 형식, Description |
본문 매개 변수 |
속성, 형식, Description |
action string필수값: |
enterprise objectAn enterprise on GitHub. |
installation objectThe GitHub App installation. This property is included when the event is configured for and sent to a GitHub App. |
organization objectA GitHub organization. |
repository object필수A repository on GitHub. |
sender object필수A GitHub user. |
workflow object or null필수 |
workflow_run 필수 |