ドキュメントには頻繁に更新が加えられ、その都度公開されています。本ページの翻訳はまだ未完成な部分があることをご了承ください。最新の情報については、英語のドキュメンテーションをご参照ください。本ページの翻訳に問題がある場合はこちらまでご連絡ください。
記事のバージョン: GitHub.com

Permissions required for GitHub Apps

You can find the required permissions for each GitHub App-compatible endpoint.

ここには以下の内容があります:

Did this doc help you?

About GitHub App permissions

GitHub Apps are created with a set of permissions. Permissions define what resources the GitHub App can access via the API. For more information, see "Setting permissions for GitHub Apps."

Metadata permissions

GitHub Apps have the Read-only metadata permission by default. The metadata permission provides access to a collection of read-only endpoints with metadata for various resources. These endpoints do not leak sensitive private repository information.

If you set the metadata permission to No access and select a permission that requires repository access, GitHub will override your selection and set the metadata permission back to Read-only. To set the metadata permission to No access, you must set all permissions that require repository access to No access first.

コラボレータ

コミットのコメント

イベント

Git

Keys

Organization members

検索

Permission on "actions"

Permission on "administration"

ブランチ

コラボレータ

Invitations

Keys

Team

トラフィック

Permission on "blocking"

Permission on "checks"

Permission on "contents"

ブランチ

コミットのコメント

Git

インポート

Reactions

リリース

Permission on "deployments"

Permission on "emails"

Permission on "followers"

Permission on "gpg keys"

Permission on "issues"

Issues and pull requests are closely related. For more information, see "List issues assigned to the authenticated user." If your GitHub App has permissions on issues but not on pull requests, these endpoints will be limited to issues. Endpoints that return both issues and pull requests will be filtered. Endpoints that allow operations on both issues and pull requests will be restricted to issues.

アサインされた人

イベント

ラベル

マイルストーン

Reactions

Permission on "keys"

Keys

Permission on "members"

Invitations

Organization members

Team members

Team

Permission on "organization administration"

Permission on "organization hooks"

Team

Permission on "organization projects"

Permission on "organization user blocking"

Permission on "pages"

Permission on "pull requests"

Pull requests and issues are closely related.. If your GitHub App has permissions on pull requests but not on issues, these endpoints will be limited to pull requests. Endpoints that return both pull requests and issues will be filtered. Endpoints that allow operations on both pull requests and issues will be restricted to pull requests.

アサインされた人

イベント

ラベル

マイルストーン

Reactions

Requested reviewers

Reviews

Permission on "repository hooks"

Permission on "repository projects"

Team

Permission on "secrets"

Permission on "security events"

Permission on "self-hosted runners"

Permission on "single file"

Permission on "starring"

Permission on "statuses"

Permission on "team discussions"

Did this doc help you?

担当者にお尋ねください

探しているものが見つからなかったでしょうか?

弊社にお問い合わせください