Skip to content

Commit 5d141ac

Browse files
docs: name & description updates (#58)
Co-authored-by: Octokit Bot <[email protected]>
1 parent f6cb1fa commit 5d141ac

File tree

10 files changed

+31
-31
lines changed

10 files changed

+31
-31
lines changed

docs/checks/createSuite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.
44

5-
By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Set preferences for check suites on a repository](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)". Your GitHub App must have the `checks:write` permission to create check suites.
5+
By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites.
66

77
```js
88
octokit.checks.createSuite({

docs/checks/get.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Get a single check run
1+
# Get a check run
22

33
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
44

@@ -41,4 +41,4 @@ check_run_id parameter
4141
</tbody>
4242
</table>
4343

44-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/runs/#get-a-single-check-run).
44+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/runs/#get-a-check-run).

docs/checks/getSuite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Get a single check suite
1+
# Get a check suite
22

33
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.
44

@@ -41,4 +41,4 @@ check_suite_id parameter
4141
</tbody>
4242
</table>
4343

44-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#get-a-single-check-suite).
44+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#get-a-check-suite).

docs/checks/listAnnotations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# List annotations for a check run
1+
# List check run annotations
22

33
Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.
44

@@ -49,4 +49,4 @@ Page number of the results to fetch.
4949
</tbody>
5050
</table>
5151

52-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/runs/#list-annotations-for-a-check-run).
52+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/runs/#list-check-run-annotations).

docs/checks/listForRef.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# List check runs for a specific ref
1+
# List check runs for a Git reference
22

33
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.
44

@@ -66,4 +66,4 @@ Page number of the results to fetch.
6666
</tbody>
6767
</table>
6868

69-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-specific-ref).
69+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference).

docs/checks/listSuitesForRef.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# List check suites for a specific ref
1+
# List check suites for a Git reference
22

33
**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.
44

@@ -61,4 +61,4 @@ Page number of the results to fetch.
6161
</tbody>
6262
</table>
6363

64-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-specific-ref).
64+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference).

docs/checks/rerequestSuite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Rerequest check suite
1+
# Rerequest a check suite
22

33
Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
44

@@ -41,4 +41,4 @@ check_suite_id parameter
4141
</tbody>
4242
</table>
4343

44-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#rerequest-check-suite).
44+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#rerequest-a-check-suite).

docs/checks/setSuitesPreferences.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Set preferences for check suites on a repository
1+
# Update repository preferences for check suites
22

33
Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.
44

@@ -50,4 +50,4 @@ Set to `true` to enable automatic creation of CheckSuite events upon pushes to t
5050
</tbody>
5151
</table>
5252

53-
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository).
53+
See also: [GitHub Developer Guide documentation](https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites).

scripts/update-endpoints/generated/endpoints.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18391,15 +18391,15 @@
1839118391
"renamed": null
1839218392
},
1839318393
{
18394-
"name": "Get a single check run",
18394+
"name": "Get a check run",
1839518395
"scope": "checks",
1839618396
"id": "get",
1839718397
"method": "GET",
1839818398
"url": "/repos/{owner}/{repo}/check-runs/{check_run_id}",
1839918399
"isDeprecated": false,
1840018400
"isLegacy": false,
1840118401
"description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nGets a single check run using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.",
18402-
"documentationUrl": "https://developer.github.com/v3/checks/runs/#get-a-single-check-run",
18402+
"documentationUrl": "https://developer.github.com/v3/checks/runs/#get-a-check-run",
1840318403
"previews": [{ "name": "antiope" }],
1840418404
"headers": [
1840518405
{
@@ -18463,15 +18463,15 @@
1846318463
"renamed": null
1846418464
},
1846518465
{
18466-
"name": "List annotations for a check run",
18466+
"name": "List check run annotations",
1846718467
"scope": "checks",
1846818468
"id": "listAnnotations",
1846918469
"method": "GET",
1847018470
"url": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",
1847118471
"isDeprecated": false,
1847218472
"isLegacy": false,
1847318473
"description": "Lists annotations for a check run using the annotation `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get annotations for a check run. OAuth Apps and authenticated users must have the `repo` scope to get annotations for a check run in a private repository.",
18474-
"documentationUrl": "https://developer.github.com/v3/checks/runs/#list-annotations-for-a-check-run",
18474+
"documentationUrl": "https://developer.github.com/v3/checks/runs/#list-check-run-annotations",
1847518475
"previews": [{ "name": "antiope" }],
1847618476
"headers": [
1847718477
{
@@ -18568,7 +18568,7 @@
1856818568
"url": "/repos/{owner}/{repo}/check-suites",
1856918569
"isDeprecated": false,
1857018570
"isLegacy": false,
18571-
"description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Set preferences for check suites on a repository](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)\". Your GitHub App must have the `checks:write` permission to create check suites.",
18571+
"description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.\n\nBy default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using \"[Update repository preferences for check suites](https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites)\". Your GitHub App must have the `checks:write` permission to create check suites.",
1857218572
"documentationUrl": "https://developer.github.com/v3/checks/suites/#create-a-check-suite",
1857318573
"previews": [{ "name": "antiope" }],
1857418574
"headers": [
@@ -18633,15 +18633,15 @@
1863318633
"renamed": null
1863418634
},
1863518635
{
18636-
"name": "Set preferences for check suites on a repository",
18636+
"name": "Update repository preferences for check suites",
1863718637
"scope": "checks",
1863818638
"id": "setSuitesPreferences",
1863918639
"method": "PATCH",
1864018640
"url": "/repos/{owner}/{repo}/check-suites/preferences",
1864118641
"isDeprecated": false,
1864218642
"isLegacy": false,
1864318643
"description": "Changes the default automatic flow when creating check suites. By default, the CheckSuiteEvent is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://developer.github.com/v3/checks/suites/#create-a-check-suite). You must have admin permissions in the repository to set preferences for check suites.",
18644-
"documentationUrl": "https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository",
18644+
"documentationUrl": "https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites",
1864518645
"previews": [{ "name": "antiope" }],
1864618646
"headers": [
1864718647
{
@@ -18731,15 +18731,15 @@
1873118731
"renamed": null
1873218732
},
1873318733
{
18734-
"name": "Get a single check suite",
18734+
"name": "Get a check suite",
1873518735
"scope": "checks",
1873618736
"id": "getSuite",
1873718737
"method": "GET",
1873818738
"url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}",
1873918739
"isDeprecated": false,
1874018740
"isLegacy": false,
1874118741
"description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.\n\nGets a single check suite using its `id`. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.",
18742-
"documentationUrl": "https://developer.github.com/v3/checks/suites/#get-a-single-check-suite",
18742+
"documentationUrl": "https://developer.github.com/v3/checks/suites/#get-a-check-suite",
1874318743
"previews": [{ "name": "antiope" }],
1874418744
"headers": [
1874518745
{
@@ -18940,15 +18940,15 @@
1894018940
"renamed": null
1894118941
},
1894218942
{
18943-
"name": "Rerequest check suite",
18943+
"name": "Rerequest a check suite",
1894418944
"scope": "checks",
1894518945
"id": "rerequestSuite",
1894618946
"method": "POST",
1894718947
"url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",
1894818948
"isDeprecated": false,
1894918949
"isLegacy": false,
1895018950
"description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://developer.github.com/v3/activity/events/types/#checksuiteevent) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nTo rerequest a check suite, your GitHub App must have the `checks:read` permission on a private repository or pull access to a public repository.",
18951-
"documentationUrl": "https://developer.github.com/v3/checks/suites/#rerequest-check-suite",
18951+
"documentationUrl": "https://developer.github.com/v3/checks/suites/#rerequest-a-check-suite",
1895218952
"previews": [{ "name": "antiope" }],
1895318953
"headers": [
1895418954
{
@@ -20510,15 +20510,15 @@
2051020510
"renamed": null
2051120511
},
2051220512
{
20513-
"name": "List check runs for a specific ref",
20513+
"name": "List check runs for a Git reference",
2051420514
"scope": "checks",
2051520515
"id": "listForRef",
2051620516
"method": "GET",
2051720517
"url": "/repos/{owner}/{repo}/commits/{ref}/check-runs",
2051820518
"isDeprecated": false,
2051920519
"isLegacy": false,
2052020520
"description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.\n\nLists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to get check runs. OAuth Apps and authenticated users must have the `repo` scope to get check runs in a private repository.",
20521-
"documentationUrl": "https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-specific-ref",
20521+
"documentationUrl": "https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference",
2052220522
"previews": [{ "name": "antiope" }],
2052320523
"headers": [
2052420524
{
@@ -20647,15 +20647,15 @@
2064720647
"renamed": null
2064820648
},
2064920649
{
20650-
"name": "List check suites for a specific ref",
20650+
"name": "List check suites for a Git reference",
2065120651
"scope": "checks",
2065220652
"id": "listSuitesForRef",
2065320653
"method": "GET",
2065420654
"url": "/repos/{owner}/{repo}/commits/{ref}/check-suites",
2065520655
"isDeprecated": false,
2065620656
"isLegacy": false,
2065720657
"description": "**Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.\n\nLists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name. GitHub Apps must have the `checks:read` permission on a private repository or pull access to a public repository to list check suites. OAuth Apps and authenticated users must have the `repo` scope to get check suites in a private repository.",
20658-
"documentationUrl": "https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-specific-ref",
20658+
"documentationUrl": "https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference",
2065920659
"previews": [{ "name": "antiope" }],
2066020660
"headers": [
2066120661
{

src/generated/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28988,7 +28988,7 @@ export type RestEndpointMethods = {
2898828988
/**
2898928989
* **Note:** The Checks API only looks for pushes in the repository where the check suite or check run were 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`.
2899028990
*
28991-
* By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Set preferences for check suites on a repository](https://developer.github.com/v3/checks/suites/#set-preferences-for-check-suites-on-a-repository)". Your GitHub App must have the `checks:write` permission to create check suites.
28991+
* By default, check suites are automatically created when you create a [check run](https://developer.github.com/v3/checks/runs/). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites)". Your GitHub App must have the `checks:write` permission to create check suites.
2899228992
*/
2899328993
createSuite: {
2899428994
(params?: RequestParameters & ChecksCreateSuiteParams): Promise<

0 commit comments

Comments
 (0)