Skip to content

repo sync #23023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/rest/billing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Billing
intro: The Billing API lets you get billing information for an enterprise.
intro: Use the REST API to get billing information for an enterprise.
topics:
- API
miniTocMaxHeadingLevel: 3
Expand All @@ -12,6 +12,6 @@ redirect_from:
- /rest/reference/billing
---

## About the Billing API
## About billing

You can get billing information for an enterprise. For more information, see the "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin#billing)" REST API.
You can get billing information for an enterprise. For more information, see "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin#billing)."
2 changes: 1 addition & 1 deletion content/rest/branches/branch-protection.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Protected branches
intro: ''
intro: 'Use the REST API to manage protected branches.'
versions:
fpt: '*'
ghes: '*'
Expand Down
2 changes: 1 addition & 1 deletion content/rest/branches/branches.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Branches
intro: The Branches API allows you to modify branches and their protection settings.
intro: Use the REST API to modify branches and their protection settings.
versions:
fpt: '*'
ghes: '*'
Expand Down
2 changes: 1 addition & 1 deletion content/rest/branches/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Branches
intro: The branches API allows you to modify branches and their protection settings.
intro: Use the REST API to modify branches and their protection settings.
allowTitleToDifferFromFilename: true
versions:
fpt: '*'
Expand Down
4 changes: 2 additions & 2 deletions content/rest/checks/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Checks
intro: 'With the Checks API, you can build {% data variables.product.prodname_github_apps %} that run powerful checks against the code changes in a repository.'
intro: 'Use the REST API to build {% data variables.product.prodname_github_apps %} that run powerful checks against the code changes in a repository.'
redirect_from:
- /v3/checks
- /rest/reference/checks
Expand All @@ -17,4 +17,4 @@ children:
- /suites
---

You can create apps that perform continuous integration, code linting, or code scanning services and provide detailed feedback on commits. For more information, see "[Getting started with the checks API](/rest/guides/getting-started-with-the-checks-api)" and "[Creating CI tests with the Checks API](/apps/quickstart-guides/creating-ci-tests-with-the-checks-api/)."
You can create apps that perform continuous integration, code linting, or code scanning services and provide detailed feedback on commits. For more information, see "[Using the REST API to interact with checks](/rest/guides/using-the-rest-api-to-interact-with-checks)" and "[Creating CI tests with the Checks API](/apps/quickstart-guides/creating-ci-tests-with-the-checks-api/)."
2 changes: 1 addition & 1 deletion content/rest/checks/runs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Check Runs
intro: ''
intro: 'Use the REST API to manage check runs.'
versions:
fpt: '*'
ghes: '*'
Expand Down
2 changes: 1 addition & 1 deletion content/rest/checks/suites.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Check Suites
intro: ''
intro: 'Use the REST API to manage check suites.'
versions:
fpt: '*'
ghes: '*'
Expand Down
8 changes: 4 additions & 4 deletions content/rest/code-scanning.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Code Scanning
intro: 'The {% data variables.product.prodname_code_scanning %} API lets you retrieve and update {% data variables.product.prodname_code_scanning %} alerts from a repository.'
intro: 'Use the REST API to retrieve and update {% data variables.product.prodname_code_scanning %} alerts from a repository.'
versions:
fpt: '*'
ghes: '*'
Expand All @@ -17,13 +17,13 @@ redirect_from:

{% data reusables.code-scanning.beta %}

## About the Code scanning API
## About code scanning

The {% data variables.product.prodname_code_scanning %} API lets you retrieve and update {% data variables.product.prodname_code_scanning %} alerts from a repository. You can use the endpoints to create automated reports for the {% data variables.product.prodname_code_scanning %} alerts in an organization or upload analysis results generated using offline {% data variables.product.prodname_code_scanning %} tools. For more information, see "[Finding security vulnerabilities and errors in your code](/github/finding-security-vulnerabilities-and-errors-in-your-code)."
You can retrieve and update {% data variables.product.prodname_code_scanning %} alerts from a repository. You can use the endpoints to create automated reports for the {% data variables.product.prodname_code_scanning %} alerts in an organization or upload analysis results generated using offline {% data variables.product.prodname_code_scanning %} tools. For more information, see "[Finding security vulnerabilities and errors in your code](/github/finding-security-vulnerabilities-and-errors-in-your-code)."

### Custom media type for {% data variables.product.prodname_code_scanning %}

There is one supported custom media type for the {% data variables.product.prodname_code_scanning %} REST API.
There is one supported custom media type for {% data variables.product.prodname_code_scanning %} endpoints.

application/sarif+json

Expand Down
2 changes: 1 addition & 1 deletion content/rest/collaborators/collaborators.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Collaborators
intro: The Collaborators API allows you manage collaborators for a repository.
intro: Use the REST API to manage collaborators for a repository.
versions:
fpt: '*'
ghes: '*'
Expand Down
2 changes: 1 addition & 1 deletion content/rest/collaborators/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Collaborators
intro: 'The Collaborators API allows you to add, invite, and remove collaborators from a repository.'
intro: 'Use the REST API to add, invite, and remove collaborators from a repository.'
allowTitleToDifferFromFilename: true
versions:
fpt: '*'
Expand Down
8 changes: 4 additions & 4 deletions content/rest/collaborators/invitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Repository invitations
allowTitleToDifferFromFilename: true
shortTitle: Invitations
intro: The Repository invitations API allows you to view and manage invitations to collaborate on a repository.
intro: Use the REST API to view and manage invitations to collaborate on a repository.
versions:
fpt: '*'
ghes: '*'
Expand All @@ -13,11 +13,11 @@ topics:
miniTocMaxHeadingLevel: 3
---

## About the Repository invitations API
## About repository invitations

The Repository invitations API allows you to view and manage invitations to collaborate on a repository. The invited users (or external services on behalf of invited users) can choose to accept or decline the invitations.
You can view and manage invitations to collaborate on a repository. The invited users (or external services on behalf of invited users) can choose to accept or decline the invitations.

To add a user as a collaborator, use the Collaborators API instead. For more information, see "[Add a repository collaborator](/rest/collaborators/collaborators#add-a-repository-collaborator)."
To add a user as a collaborator, use the Collaborators endpoints instead. For more information, see "[Add a repository collaborator](/rest/collaborators/collaborators#add-a-repository-collaborator)."

Note that the `repo:invite` [OAuth scope](/developers/apps/scopes-for-oauth-apps) grants targeted
access to invitations **without** also granting access to repository code, while the
Expand Down