From f056629c2c02ee683ff0bb7a61926642576b9fc9 Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Wed, 29 Jun 2022 19:11:14 -0400 Subject: [PATCH 1/2] Fix GraphQL scopes for consistency with Explorer --- content/graphql/guides/forming-calls-with-graphql.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/graphql/guides/forming-calls-with-graphql.md b/content/graphql/guides/forming-calls-with-graphql.md index af772ceef7..7f7f6f01a0 100644 --- a/content/graphql/guides/forming-calls-with-graphql.md +++ b/content/graphql/guides/forming-calls-with-graphql.md @@ -33,13 +33,14 @@ The following scopes are recommended: ``` repo -repo:status -repo_deployment{% ifversion not ghae %} -public_repo{% endif %} +repo_deployment +read:packages read:org read:public_key read:repo_hook user +read:discussion +read:enterprise read:gpg_key ``` From f8771e7b5f6128d10986907b29021523ec591065 Mon Sep 17 00:00:00 2001 From: Bishal Das <70086051+bishal7679@users.noreply.github.com> Date: Thu, 30 Jun 2022 10:02:55 +0530 Subject: [PATCH 2/2] Update check_suite_properties.md --- data/reusables/webhooks/check_suite_properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reusables/webhooks/check_suite_properties.md b/data/reusables/webhooks/check_suite_properties.md index 3f5487c324..087e8255fd 100644 --- a/data/reusables/webhooks/check_suite_properties.md +++ b/data/reusables/webhooks/check_suite_properties.md @@ -4,7 +4,7 @@ Key | Type | Description `check_suite`|`object` | The [check_suite](/rest/reference/checks#suites). `check_suite[head_branch]`|`string` | The head branch name the changes are on. `check_suite[head_sha]`|`string` | The SHA of the most recent commit for this check suite. -`check_suite[status]`|`string` | The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`. +`check_suite[status]`|`string` | The summary status for all check runs that are part of the check suite. Can be `queued`, `requested`, `in_progress`, or `completed`. `check_suite[conclusion]`|`string`| The summary conclusion for all check runs that are part of the check suite. Can be one of `success`, `failure`, `neutral`, `cancelled`, `timed_out`, `action_required` or `stale`. This value will be `null` until the check run has `completed`. `check_suite[url]`|`string` | URL that points to the check suite API resource. `check_suite[pull_requests]`|`array`| An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_branch`.

**Note:**