Skip to content

Commit ae0ce6f

Browse files
authored
Merge pull request #39829 from github/repo-sync
Repo sync
2 parents 4ba9eea + f8e1d6d commit ae0ce6f

File tree

111 files changed

+159
-125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+159
-125
lines changed

content/code-security/secret-scanning/introduction/about-push-protection.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ Push protection has some limitations. For more information, see [AUTOTITLE](/cod
4747

4848
## How push protection works
4949

50-
Push protection works:
50+
Push protection blocks secrets detected in:
5151

52-
* From the command line. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-command-line).
53-
* In the {% data variables.product.prodname_dotcom %} UI. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-in-the-github-ui).{% ifversion push-protection-delegated-bypass-file-upload-support %}
54-
* On files uploaded onto the repository on {% data variables.product.prodname_dotcom %}.{% endif %}{% ifversion secret-scanning-push-protection-content-endpoints %}
55-
* From the REST API. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-rest-api).{% endif %}
52+
* Pushes from the command line. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-command-line).
53+
* Commits made in the {% data variables.product.prodname_dotcom %} UI. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-in-the-github-ui).{% ifversion push-protection-delegated-bypass-file-upload-support %}
54+
* File uploads to a repository on {% data variables.product.prodname_dotcom %}.{% endif %}{% ifversion secret-scanning-push-protection-content-endpoints %}
55+
* Requests to the REST API. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-from-the-rest-api).{% endif %}
56+
* Interactions with the {% data variables.product.github %} MCP server (public repositories only). See [AUTOTITLE](/enterprise-cloud@latest/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-and-the-github-mcp-server).
5657

5758
Once enabled, if push protection detects a potential secret during a push attempt, it will block the push and provide a detailed message explaining the reason for the block. You will need to review the code in question, remove any sensitive information, and reattempt the push.
5859

content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ children:
1818
- /working-with-push-protection-from-the-command-line
1919
- /working-with-push-protection-from-the-rest-api
2020
- /working-with-push-protection-in-the-github-ui
21+
- /working-with-push-protection-and-the-github-mcp-server
2122
redirect_from:
2223
- /code-security/secret-scanning/working-with-push-protection
2324
- /code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Working with push protection and the GitHub MCP server
3+
shortTitle: Push protection and the GitHub MCP server
4+
intro: 'Learn how you are protected from leaking secrets during interactions with the {% data variables.product.github %} MCP server, and how to bypass a push protection block if you need to.'
5+
product: 'Public repositories on {% data variables.product.prodname_dotcom_the_website %}'
6+
permissions: '{% data reusables.permissions.push-protection-resolve-block %}'
7+
versions:
8+
feature: copilot
9+
type: how_to
10+
topics:
11+
- Secret scanning
12+
- Secret Protection
13+
- Alerts
14+
- Repositories
15+
- Copilot
16+
---
17+
18+
## About push protection and the {% data variables.product.github %} MCP server
19+
20+
Push protection prevents you from inadvertently exposing secrets, such as tokens, keys and credentials, in your repository.
21+
22+
When you're interacting with the {% data variables.product.github %} MCP server, push protection blocks secrets in AI-generated responses as well as preventing secrets from being included in any actions you perform, such as creating an issue.
23+
24+
This protection is on by default for all interactions between the {% data variables.product.github %} MCP server and **public repositories** only, regardless of whether push protection is enabled on the repository's security settings page.
25+
26+
## Resolving a block
27+
28+
To resolve the block, you can either:
29+
30+
* **Remove** the secret from the content of your request before trying again.
31+
* **Bypass the block.** If push protection is enabled for the repository, or you have push protection enabled for your personal account, you'll see an option to bypass the push protection block. You should carefully evaluate if it's safe to include the secret in your request before continuing.
32+
33+
## Further reading
34+
35+
* [AUTOTITLE](/code-security/secret-scanning/introduction/about-push-protection)
36+
* [About the {% data variables.product.github %} MCP server](/copilot/concepts/about-mcp#about-the-github-mcp-server)

content/copilot/concepts/about-mcp.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ The {% data variables.product.github %} MCP server is a Model Context Protocol (
3737
* Connect third-party tools (like Cursor, Windsurf, or future integrations) to leverage {% data variables.product.github %}’s context and AI capabilities.
3838
* Enable cloud-based workflows that work from any device, without local setup.
3939

40+
For public repositories, interactions with the {% data variables.product.github %} MCP server are secured by push protection, which blocks secrets from being included in AI-generated responses and prevents you from exposing secrets through any actions you perform using the server, such as creating an issue. See [AUTOTITLE](/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/working-with-push-protection-and-the-github-mcp-server).
41+
4042
You can access the {% data variables.product.github %} MCP server remotely through {% data variables.product.prodname_vscode %}, or other editors that support remote MCP; or you can run it locally in any MCP-compatible editor, allowing you to choose between the convenience of a hosted solution or the customizability of a self-hosted setup.
4143

4244
If you want to utilize the remote {% data variables.product.github %} MCP server, you can do so in a few steps, without any local setup. This is particularly useful for users who want to quickly leverage {% data variables.product.github %}’s AI capabilities without the overhead of managing a local MCP server.

content/copilot/concepts/billing/billing-for-individuals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About billing for individual Copilot plans
2+
title: About billing for individual GitHub Copilot plans
33
shortTitle: Billing for individuals
44
intro: 'Learn how billing works for {% data variables.copilot.copilot_pro_short %} and {% data variables.copilot.copilot_pro_plus_short %}.'
55
versions:

content/copilot/concepts/billing/individual-plans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About individual Copilot plans and benefits
2+
title: About individual GitHub Copilot plans and benefits
33
shortTitle: Individual plans
44
intro: '{% data variables.product.company_short %} offers several {% data variables.product.prodname_copilot_short %} plans for individual developers, each with different features, model access, and usage limits to support a wide range of coding needs.'
55
versions:

content/copilot/concepts/billing/organizations-and-enterprises.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ If a single user receives a seat from multiple organizations in the same enterpr
4444

4545
## Billing cycles
4646

47-
Billed users are calculated at the end of each billing cycle, based on the number of {% data variables.product.prodname_copilot %} seats that are assigned. You can add or remove seats at any time during the billing cycle.
47+
Billed users are calculated at the end of each billing cycle, based on the number of {% data variables.product.prodname_copilot %} seats that are assigned. Although you can add or remove seats at any time during the billing cycle, billing for removed seats continues until the end of the current billing cycle. See [AUTOTITLE](/copilot/reference/copilot-billing/license-changes).
4848

4949
## Reference
5050

content/copilot/concepts/code-review/code-review.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About Copilot code review
2+
title: About GitHub Copilot code review
33
shortTitle: Code review
44
allowTitleToDifferFromFilename: true
55
intro: 'Find out how {% data variables.product.prodname_copilot_short %} can review pull requests for you.'

content/copilot/concepts/coding-agent/coding-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: About Copilot coding agent
2+
title: About GitHub Copilot coding agent
33
shortTitle: Coding agent
44
intro: 'You can assign {% data variables.product.github %} issues to {% data variables.product.prodname_copilot_short %}, or ask {% data variables.product.prodname_copilot_short %} to create a pull request.'
55
product: '{% data reusables.gated-features.copilot-coding-agent %}<br><a href="https://github.com/features/copilot/plans?ref_cta=Copilot+plans+signup&ref_loc=about+assigning+issues+to+copilot&ref_page=docs" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline"><span>Sign up for {% data variables.product.prodname_copilot_short %}</span> {% octicon "link-external" height:16 %}</a>'

content/copilot/concepts/coding-agent/enable-coding-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'About enabling {% data variables.copilot.copilot_coding_agent %}'
2+
title: About enabling GitHub Copilot coding agent
33
shortTitle: 'Enable {% data variables.copilot.copilot_coding_agent_short %}'
44
allowTitleToDifferFromFilename: true
55
intro: 'Find out about enabling {% data variables.copilot.copilot_coding_agent %} for {% data variables.copilot.copilot_enterprise %} and {% data variables.copilot.copilot_for_business %}, and about disabling the agent for specific repositories.'

0 commit comments

Comments
 (0)