Skip to content
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
16 changes: 0 additions & 16 deletions content/code-security/code-quality/how-tos/index.md

This file was deleted.

1 change: 0 additions & 1 deletion content/code-security/code-quality/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ topics:
- Code Quality
children:
- /get-started
- /how-tos
- /reference
- /tutorials
- /responsible-use
Expand Down
1 change: 1 addition & 0 deletions content/code-security/how-tos/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ contentType: how-tos
children:
- /secure-at-scale
- /secure-your-supply-chain
- /maintain-quality-code
---
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
title: Enabling {% data variables.product.prodname_code_quality %}
shortTitle: Enable Code Quality
intro: 'Use {% data variables.product.prodname_code_quality_short %} to automatically catch, fix, and report on code quality issues in pull requests and on your default branch.'
intro: Use {% data variables.product.prodname_code_quality_short %} to automatically catch, fix, and report on code quality issues in pull requests and on your default branch.
versions:
feature: code-quality
product: '{% data reusables.gated-features.code-quality-availability %}'
permissions: '{% data reusables.permissions.code-quality-repo-enable %}'
topics:
- Code Quality
contentType: how-tos
redirect_from:
- /code-security/code-quality/how-tos/enable-code-quality
---

{% data reusables.code-quality.code-quality-preview-note %}
Expand Down
16 changes: 16 additions & 0 deletions content/code-security/how-tos/maintain-quality-code/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: Maintain quality code
intro: Learn how to use {% data variables.product.github %}'s code security and code quality features to maintain high-quality code in your repositories.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
contentType: how-tos
children:
- /enable-code-quality
- /interpret-results
- /set-pr-thresholds
- /unblock-your-pr
redirect_from:
- /code-security/code-quality/how-tos
---
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
title: Interpreting the code quality results for your repository
shortTitle: Interpret results
allowTitleToDifferFromFilename: true
intro: 'View {% data variables.product.prodname_code_quality %} findings for your default branch.'
intro: View {% data variables.product.prodname_code_quality %} findings for your default branch.
versions:
feature: code-quality
product: '{% data reusables.gated-features.code-quality-availability %}'
permissions: '{% data reusables.permissions.code-quality-see-repo-findings %}'
topics:
- Code Quality
contentType: how-tos
redirect_from:
- /code-security/code-quality/how-tos/interpret-results
---

{% data reusables.code-quality.code-quality-preview-note %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
title: Setting code quality thresholds for pull requests
shortTitle: Set PR thresholds
intro: 'Create a {% data variables.product.prodname_code_quality_short %} gate for pull requests to increase the quality of code merged into your repository.'
intro: Create a {% data variables.product.prodname_code_quality_short %} gate for pull requests to increase the quality of code merged into your repository.
versions:
feature: code-quality
product: '{% data reusables.gated-features.code-quality-availability %}'
permissions: '{% data reusables.permissions.code-quality-repo-enable %}'
topics:
- Code Quality
contentType: how-tos
redirect_from:
- /code-security/code-quality/how-tos/set-pr-thresholds
---

{% data reusables.code-quality.code-quality-preview-note %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
title: Resolving a block on your pull request
shortTitle: Unblock your PR
intro: 'Identify and resolve a code quality block on your pull request so you can merge your changes.'
intro: Identify and resolve a code quality block on your pull request so you can merge your changes.
versions:
feature: code-quality
permissions: '{% data reusables.permissions.code-quality-see-repo-findings %}'
topics:
- Code Quality
contentType: how-tos
redirect_from:
- /code-security/code-quality/how-tos/unblock-your-pr
---

{% data reusables.code-quality.code-quality-preview-note %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ topics:
shortTitle: Manage alerts
children:
- /viewing-alerts
- /evaluating-alerts
- /resolving-alerts
- /monitoring-alerts
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ topics:
- Secret Protection
- Repositories
children:
- /remediating-a-leaked-secret
- /push-protection-for-users
- /working-with-push-protection-from-the-command-line
- /working-with-push-protection-in-the-github-ui
Expand Down
2 changes: 1 addition & 1 deletion content/code-security/tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ topics:
contentType: tutorials
children:
- secure-your-organization
- remediate-leaked-secrets
- trialing-github-advanced-security
- adopting-github-advanced-security-at-scale
- manage-security-alerts
---

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Evaluating alerts from secret scanning
intro: 'Learn about additional features that can help you evaluate alerts and prioritize their remediation, such as checking a secret''s validity.'
intro: Learn about additional features that can help you evaluate alerts and prioritize their remediation, such as checking a secret's validity.
permissions: '{% data reusables.permissions.secret-scanning-alerts %}'
versions:
fpt: '*'
Expand All @@ -14,6 +14,9 @@ topics:
- Repositories
shortTitle: Evaluate alerts
allowTitleToDifferFromFilename: true
redirect_from:
- /code-security/secret-scanning/managing-alerts-from-secret-scanning/evaluating-alerts
contentType: tutorials
---

## About evaluating alerts
Expand Down
12 changes: 12 additions & 0 deletions content/code-security/tutorials/remediate-leaked-secrets/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Remediate leaked secrets
intro: Learn how to identify and remediate leaked secrets in your codebase.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
contentType: tutorials
children:
- /evaluating-alerts
- /remediating-a-leaked-secret
---
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
redirect_from:
- /code-security/secret-scanning/working-with-secret-scanning-and-push-protection/remediating-a-leaked-secret
contentType: tutorials
---

## Introduction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ When you migrate a repository, either directly or as part of an organization mig

Currently, the following data is **not** migrated.

* {% data variables.product.prodname_codespaces %} secrets
{% data reusables.enterprise-migration-tool.data-not-migrated %}
* User access to the repository

When you migrate a repository directly, teams and team access to repositories are not migrated.

Expand Down
3 changes: 3 additions & 0 deletions data/reusables/enterprise-migration-tool/data-not-migrated.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
* Audit logs
* {% data variables.product.prodname_code_scanning_caps %} results
* {% data variables.product.prodname_codespaces %} secrets
* Commit status checks
* {% data variables.product.prodname_dependabot %} alerts
* {% data variables.product.prodname_dependabot %} secrets
Expand All @@ -21,6 +22,8 @@
* Repository stars
* Repository watchers
* Rulesets
* Sub-issues (see [AUTOTITLE](/issues/tracking-your-work-with-issues/learning-about-issues/about-issues#about-sub-issues))
* Tag protection rules
* User access to the repository
* Users' profiles, SSH keys, signing keys, or {% data variables.product.pat_generic_plural %}
* Webhook secrets
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
You can use a {% data variables.product.pat_generic %} to make API requests. Additionally, you can authorize a {% data variables.product.prodname_github_app %} or {% data variables.product.prodname_oauth_app %}, which can then make API requests on your behalf.

All of these requests count towards your personal rate limit of 5,000 requests per hour. {% ifversion fpt or ghec %}Requests made on your behalf by a {% data variables.product.prodname_github_app %} that is owned by a {% data variables.product.prodname_ghe_cloud %} organization have a higher rate limit of 15,000 requests per hour. Similarly, requests made on your behalf by a {% data variables.product.prodname_oauth_app %} that is owned or approved by a {% data variables.product.prodname_ghe_cloud %} organization have a higher rate limit of 15,000 requests per hour if you are a member of the {% data variables.product.prodname_ghe_cloud %} organization.{% endif %}

All of these requests count towards your personal rate limit of 5,000 requests per hour. {% ifversion fpt or ghec %}Requests made on your behalf by a {% data variables.product.prodname_github_app %} that is owned by a {% data variables.product.prodname_ghe_cloud %} organization have a higher rate limit of 15,000 requests per hour. Similarly, requests made on your behalf by a {% data variables.product.prodname_oauth_app %} that is owned or approved by a {% data variables.product.prodname_ghe_cloud %} organization have a higher rate limit of 15,000 requests per hour if you are a member of the {% data variables.product.prodname_ghe_cloud %} organization. However, requests made by a higher-limit app reduce the remaining budget available for lower-limit authentication methods. For example, if an app with a 15,000 request limit makes 10,000 requests on your behalf, you will have exhausted the 5,000 request budget for your {% data variables.product.pat_generic_plural %}, even though the app has 5,000 requests remaining.{% endif %}
Loading