Skip to content

Commit 74c7630

Browse files
authored
Merge pull request github#17443 from github/repo-sync
repo sync
2 parents 731439c + ecfbf9c commit 74c7630

19 files changed

+452
-299
lines changed

content/rest/dependabot/secrets.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Secrets
3-
intro: 'With the Dependabot Secrets API, you can manage and control Dependabot secrets for an organization or repository.'
2+
title: Dependabot secrets
3+
shortTitle: Secrets
4+
intro: 'With the {% data variables.product.prodname_dependabot %} secrets API, you can manage and control {% data variables.product.prodname_dependabot %} secrets for an organization or repository.'
45
topics:
56
- API
67
versions:
@@ -10,6 +11,8 @@ versions:
1011
allowTitleToDifferFromFilename: true
1112
---
1213

13-
The {% data variables.product.prodname_dependabot %} Secrets API lets you create, update, delete, and retrieve information about encrypted secrets. {% data reusables.actions.about-secrets %} For more information, see "[Managing encrypted secrets for Dependabot](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/managing-encrypted-secrets-for-dependabot)."
14+
## About the {% data variables.product.prodname_dependabot %} secrets API
15+
16+
The {% data variables.product.prodname_dependabot %} secrets API lets you create, update, delete, and retrieve information about encrypted secrets. {% data reusables.actions.about-secrets %} For more information, see "[Managing encrypted secrets for Dependabot](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/managing-encrypted-secrets-for-dependabot)."
1417

1518
{% data reusables.actions.actions-authentication %} {% data variables.product.prodname_github_apps %} must have the `dependabot_secrets` permission to use this API. Authenticated users must have collaborator access to a repository to create, update, or read secrets.

content/rest/dependency-graph/dependency-review.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Dependency Review
3-
intro: 'The Dependency Review API allows you to understand dependency changes, and the security impact of these changes, before you add them to your environment.'
2+
title: Dependency review
3+
intro: 'The Dependency review API allows you to understand dependency changes, and the security impact of these changes, before you add them to your environment.'
44
versions:
55
fpt: '*'
66
ghes: '>=3.6'
@@ -12,7 +12,7 @@ miniTocMaxHeadingLevel: 3
1212
allowTitleToDifferFromFilename: true
1313
---
1414

15-
## Dependency review
15+
## About the Dependency review API
1616

1717
{% data reusables.dependency-review.dependency-review-api-beta-note %}
1818

content/rest/git/blobs.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Blobs
3-
intro: 'A Git blob (binary large object) is the object type used to store the contents of each file in a repository.'
2+
title: Git blobs
3+
shortTitle: Blobs
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Git blob API lets you create and get a Git blob (binary large object), the object type used to store the contents of each file in a repository.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,7 +13,9 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

14-
The file's SHA-1 hash is computed and stored in the blob object. These endpoints allow you to read and write [blob objects](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects)
16+
## About the Git blob API
17+
18+
A Git blob (binary large object) is the object type used to store the contents of each file in a repository. The file's SHA-1 hash is computed and stored in the blob object. These endpoints allow you to read and write [blob objects](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects)
1519
to your Git database on {% data variables.product.product_name %}. Blobs leverage [these custom media types](#custom-media-types-for-blobs). You can read more about the use of media types in the API [here](/rest/overview/media-types).
1620

1721
### Custom media types for blobs

content/rest/git/commits.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Commits
3-
intro: 'A Git commit is a snapshot of the hierarchy ([Git tree](/rest/reference/git#trees)) and the contents of the files ([Git blob](/rest/reference/git#blobs)) in a Git repository.'
2+
title: Git commits
3+
shortTitle: Commits
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Git commits API lets you read and write commit objects to your Git database on {% data variables.product.product_name %}.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,4 +13,6 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

14-
These endpoints allow you to read and write [commit objects](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects) to your Git database on {% data variables.product.product_name %}.
16+
## About the Git commits API
17+
18+
A Git commit is a snapshot of the hierarchy ([Git tree](/rest/reference/git#trees)) and the contents of the files ([Git blob](/rest/reference/git#blobs)) in a Git repository. These endpoints allow you to read and write [commit objects](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Commit-Objects) to your Git database on {% data variables.product.product_name %}.

content/rest/git/refs.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: References
3-
intro: 'A Git reference (`git ref`) is just a file that contains a Git commit SHA-1 hash.'
2+
title: Git references
3+
shortTitle: References
4+
intro: 'The Git references API lets you read and write references to your Git database on {% data variables.product.product_name %}'
45
versions:
56
fpt: '*'
67
ghes: '*'
@@ -12,4 +13,6 @@ miniTocMaxHeadingLevel: 3
1213
allowTitleToDifferFromFilename: true
1314
---
1415

15-
When referring to a Git commit, you can use the Git reference, which is an easy-to-remember name, rather than the hash. The Git reference can be rewritten to point to a new commit. A branch is just a Git reference that stores the new Git commit hash. These endpoints allow you to read and write [references](https://git-scm.com/book/en/v1/Git-Internals-Git-References) to your Git database on {% data variables.product.product_name %}.
16+
## About the Git references API
17+
18+
A Git reference (`git ref`) is a file that contains a Git commit SHA-1 hash. When referring to a Git commit, you can use the Git reference, which is an easy-to-remember name, rather than the hash. The Git reference can be rewritten to point to a new commit. A branch is a Git reference that stores the new Git commit hash. These endpoints allow you to read and write [references](https://git-scm.com/book/en/v1/Git-Internals-Git-References) to your Git database on {% data variables.product.product_name %}.

content/rest/git/tags.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Tags
3-
intro: 'A Git tag is similar to a [Git reference](/rest/reference/git#refs), but the Git commit that it points to never changes.'
2+
title: Git tags
3+
shortTitle: Tags
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Git tags API lets you read and write tag objects to your Git database on {% data variables.product.product_name %}.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,4 +13,6 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

14-
Git tags are helpful when you want to point to specific releases. These endpoints allow you to read and write [tag objects](https://git-scm.com/book/en/v1/Git-Internals-Git-References#Tags) to your Git database on {% data variables.product.product_name %}. The Git tags API only supports [annotated tag objects](https://git-scm.com/book/en/v1/Git-Internals-Git-References#Tags), not lightweight tags.
16+
## About the Git tags API
17+
18+
A Git tag is similar to a [Git reference](/rest/reference/git#refs), but the Git commit that it points to never changes. Git tags are helpful when you want to point to specific releases. These endpoints allow you to read and write [tag objects](https://git-scm.com/book/en/v1/Git-Internals-Git-References#Tags) to your Git database on {% data variables.product.product_name %}. The Git tags API only supports [annotated tag objects](https://git-scm.com/book/en/v1/Git-Internals-Git-References#Tags), not lightweight tags.

content/rest/git/trees.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
2-
title: Trees
3-
intro: 'A Git tree object creates the hierarchy between files in a Git repository. '
2+
title: Git trees
3+
shortTitle: Trees
4+
allowTitleToDifferFromFilename: true
5+
intro: 'The Git trees API lets you read and write tree objects to your Git database on {% data variables.product.product_name %}.'
46
versions:
57
fpt: '*'
68
ghes: '*'
@@ -11,4 +13,6 @@ topics:
1113
miniTocMaxHeadingLevel: 3
1214
---
1315

14-
You can use the Git tree object to create the relationship between directories and the files they contain. These endpoints allow you to read and write [tree objects](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Tree-Objects) to your Git database on {% data variables.product.product_name %}.
16+
## About the Git trees API
17+
18+
A Git tree object creates the hierarchy between files in a Git repository. You can use the Git tree object to create the relationship between directories and the files they contain. These endpoints allow you to read and write [tree objects](https://git-scm.com/book/en/v1/Git-Internals-Git-Objects#Tree-Objects) to your Git database on {% data variables.product.product_name %}.

data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ upcoming_changes:
2020
date: '2020-01-01T00:00:00+00:00'
2121
criticality: breaking
2222
owner: tambling
23-
- location: EnterprisePendingMemberInvitationEdge.isUnlicensed
24-
description: '`isUnlicensed` will be removed.'
25-
reason: All pending members consume a license
26-
date: '2020-07-01T00:00:00+00:00'
27-
criticality: breaking
28-
owner: BrentWheeldon
2923
- location: Issue.timeline
3024
description: '`timeline` will be removed. Use Issue.timelineItems instead.'
3125
reason: '`timeline` will be removed'
@@ -38,18 +32,6 @@ upcoming_changes:
3832
date: '2020-10-01T00:00:00+00:00'
3933
criticality: breaking
4034
owner: mikesea
41-
- location: EnterpriseMemberEdge.isUnlicensed
42-
description: '`isUnlicensed` will be removed.'
43-
reason: All members consume a license
44-
date: '2021-01-01T00:00:00+00:00'
45-
criticality: breaking
46-
owner: BrentWheeldon
47-
- location: EnterpriseOutsideCollaboratorEdge.isUnlicensed
48-
description: '`isUnlicensed` will be removed.'
49-
reason: All outside collaborators consume a license
50-
date: '2021-01-01T00:00:00+00:00'
51-
criticality: breaking
52-
owner: BrentWheeldon
5335
- location: MergeStateStatus.DRAFT
5436
description: '`DRAFT` will be removed. Use PullRequest.isDraft instead.'
5537
reason:

data/graphql/ghae/schema.docs-ghae.graphql

Lines changed: 55 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9962,11 +9962,6 @@ type EnterpriseMemberEdge {
99629962
"""
99639963
cursor: String!
99649964

9965-
"""
9966-
Whether the user does not have a license for the enterprise.
9967-
"""
9968-
isUnlicensed: Boolean! @deprecated(reason: "All members consume a license Removal on 2021-01-01 UTC.")
9969-
99709965
"""
99719966
The item at the end of the edge.
99729967
"""
@@ -10127,11 +10122,6 @@ type EnterpriseOutsideCollaboratorEdge {
1012710122
"""
1012810123
cursor: String!
1012910124

10130-
"""
10131-
Whether the outside collaborator does not have a license for the enterprise.
10132-
"""
10133-
isUnlicensed: Boolean! @deprecated(reason: "All outside collaborators consume a license Removal on 2021-01-01 UTC.")
10134-
1013510125
"""
1013610126
The item at the end of the edge.
1013710127
"""
@@ -10201,6 +10191,11 @@ type EnterpriseOwnerInfo {
1020110191
"""
1020210192
orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC}
1020310193

10194+
"""
10195+
Only return members within the organizations with these logins
10196+
"""
10197+
organizationLogins: [String!]
10198+
1020410199
"""
1020510200
The search string to look for.
1020610201
"""
@@ -10732,6 +10727,11 @@ type EnterpriseOwnerInfo {
1073210727
"""
1073310728
first: Int
1073410729

10730+
"""
10731+
Only return outside collaborators with this two-factor authentication status.
10732+
"""
10733+
hasTwoFactorEnabled: Boolean = null
10734+
1073510735
"""
1073610736
Returns the last _n_ elements from the list.
1073710737
"""
@@ -10747,6 +10747,11 @@ type EnterpriseOwnerInfo {
1074710747
"""
1074810748
orderBy: EnterpriseMemberOrder = {field: LOGIN, direction: ASC}
1074910749

10750+
"""
10751+
Only return outside collaborators within the organizations with these logins
10752+
"""
10753+
organizationLogins: [String!]
10754+
1075010755
"""
1075110756
The search string to look for.
1075210757
"""
@@ -11064,11 +11069,6 @@ type EnterprisePendingMemberInvitationEdge {
1106411069
"""
1106511070
cursor: String!
1106611071

11067-
"""
11068-
Whether the invitation has a license for the enterprise.
11069-
"""
11070-
isUnlicensed: Boolean! @deprecated(reason: "All pending members consume a license Removal on 2020-07-01 UTC.")
11071-
1107211072
"""
1107311073
The item at the end of the edge.
1107411074
"""
@@ -22930,6 +22930,41 @@ type PageInfo {
2293022930
startCursor: String
2293122931
}
2293222932

22933+
"""
22934+
The possible types of patch statuses.
22935+
"""
22936+
enum PatchStatus {
22937+
"""
22938+
The file was added. Git status 'A'.
22939+
"""
22940+
ADDED
22941+
22942+
"""
22943+
The file's type was changed. Git status 'T'.
22944+
"""
22945+
CHANGED
22946+
22947+
"""
22948+
The file was copied. Git status 'C'.
22949+
"""
22950+
COPIED
22951+
22952+
"""
22953+
The file was deleted. Git status 'D'.
22954+
"""
22955+
DELETED
22956+
22957+
"""
22958+
The file's contents were changed. Git status 'M'.
22959+
"""
22960+
MODIFIED
22961+
22962+
"""
22963+
The file was renamed. Git status 'R'.
22964+
"""
22965+
RENAMED
22966+
}
22967+
2293322968
"""
2293422969
Types that can grant permissions on a repository to a user
2293522970
"""
@@ -25396,6 +25431,11 @@ type PullRequestChangedFile {
2539625431
"""
2539725432
additions: Int!
2539825433

25434+
"""
25435+
How the file was changed in this PullRequest
25436+
"""
25437+
changeType: PatchStatus!
25438+
2539925439
"""
2540025440
The number of deletions to the file.
2540125441
"""

data/graphql/ghec/graphql_upcoming_changes.public.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ upcoming_changes:
2626
date: '2020-04-01T00:00:00+00:00'
2727
criticality: breaking
2828
owner: antn
29-
- location: EnterprisePendingMemberInvitationEdge.isUnlicensed
30-
description: '`isUnlicensed` will be removed.'
31-
reason: All pending members consume a license
32-
date: '2020-07-01T00:00:00+00:00'
33-
criticality: breaking
34-
owner: BrentWheeldon
3529
- location: Issue.timeline
3630
description: '`timeline` will be removed. Use Issue.timelineItems instead.'
3731
reason: '`timeline` will be removed'
@@ -50,18 +44,6 @@ upcoming_changes:
5044
date: '2020-10-01T00:00:00+00:00'
5145
criticality: breaking
5246
owner: nholden
53-
- location: EnterpriseMemberEdge.isUnlicensed
54-
description: '`isUnlicensed` will be removed.'
55-
reason: All members consume a license
56-
date: '2021-01-01T00:00:00+00:00'
57-
criticality: breaking
58-
owner: BrentWheeldon
59-
- location: EnterpriseOutsideCollaboratorEdge.isUnlicensed
60-
description: '`isUnlicensed` will be removed.'
61-
reason: All outside collaborators consume a license
62-
date: '2021-01-01T00:00:00+00:00'
63-
criticality: breaking
64-
owner: BrentWheeldon
6547
- location: MergeStateStatus.DRAFT
6648
description: '`DRAFT` will be removed. Use PullRequest.isDraft instead.'
6749
reason:

0 commit comments

Comments
 (0)