Skip to content

Commit 4321c3c

Browse files
authored
fix(typescript): description updates for .repos.mergeUpstream() (#442)
1 parent a935ed5 commit 4321c3c

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

docs/repos/mergeUpstream.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ type: API method
88

99
# Sync a fork branch with the upstream repository
1010

11+
**Note:** This endpoint is currently in beta and subject to change.
12+
1113
Sync a branch of a forked repository to keep it up-to-date with the upstream repository.
1214

1315
```js

docs/secretScanning/listAlertsForOrg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: Lists secret scanning alerts by organization
2+
name: List secret scanning alerts by organization
33
example: octokit.rest.secretScanning.listAlertsForOrg({ org })
44
route: GET /orgs/{org}/secret-scanning/alerts
55
scope: secretScanning
66
type: API method
77
---
88

9-
# Lists secret scanning alerts by organization
9+
# List secret scanning alerts by organization
1010

1111
Lists all secret scanning alerts for all eligible repositories in an organization, from newest to oldest.
1212
To use this endpoint, you must be an administrator for the repository or organization, and you must use an access token with the `repo` scope or `security_events` scope.

scripts/update-endpoints/generated/endpoints.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44692,7 +44692,7 @@
4469244692
"url": "/repos/{owner}/{repo}/merge-upstream",
4469344693
"isDeprecated": false,
4469444694
"deprecationDate": null,
44695-
"description": "Sync a branch of a forked repository to keep it up-to-date with the upstream repository.",
44695+
"description": "**Note:** This endpoint is currently in beta and subject to change.\n\nSync a branch of a forked repository to keep it up-to-date with the upstream repository.",
4469644696
"documentationUrl": "https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository",
4469744697
"previews": [],
4469844698
"headers": [],
@@ -48741,7 +48741,7 @@
4874148741
"renamed": null
4874248742
},
4874348743
{
48744-
"name": "Lists secret scanning alerts by organization",
48744+
"name": "List secret scanning alerts by organization",
4874548745
"scope": "secretScanning",
4874648746
"id": "listAlertsForOrg",
4874748747
"method": "GET",

src/generated/method-types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7801,6 +7801,8 @@ export type RestEndpointMethods = {
78017801
endpoint: EndpointInterface<{ url: string }>;
78027802
};
78037803
/**
7804+
* **Note:** This endpoint is currently in beta and subject to change.
7805+
*
78047806
* Sync a branch of a forked repository to keep it up-to-date with the upstream repository.
78057807
*/
78067808
mergeUpstream: {

0 commit comments

Comments
 (0)