diff --git a/content/code-security/code-quality/how-tos/index.md b/content/code-security/code-quality/how-tos/index.md deleted file mode 100644 index 0f6ca7c5beb2..000000000000 --- a/content/code-security/code-quality/how-tos/index.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: How-to guides for GitHub Code Quality -shortTitle: How-to guides -intro: Learn how to use {% data variables.product.prodname_code_quality %} with these detailed guides. -versions: - feature: code-quality -topics: - - Code Quality -contentType: how-tos -children: - - /enable-code-quality - - /interpret-results - - /set-pr-thresholds - - /unblock-your-pr ---- - diff --git a/content/code-security/code-quality/index.md b/content/code-security/code-quality/index.md index 9de45c0917bf..a44d316955e8 100644 --- a/content/code-security/code-quality/index.md +++ b/content/code-security/code-quality/index.md @@ -8,7 +8,6 @@ topics: - Code Quality children: - /get-started - - /how-tos - /reference - /tutorials - /responsible-use diff --git a/content/code-security/how-tos/index.md b/content/code-security/how-tos/index.md index d9d85c6f8e0f..0eb5c8584b20 100644 --- a/content/code-security/how-tos/index.md +++ b/content/code-security/how-tos/index.md @@ -18,4 +18,5 @@ contentType: how-tos children: - /secure-at-scale - /secure-your-supply-chain + - /maintain-quality-code --- diff --git a/content/code-security/code-quality/how-tos/enable-code-quality.md b/content/code-security/how-tos/maintain-quality-code/enable-code-quality.md similarity index 92% rename from content/code-security/code-quality/how-tos/enable-code-quality.md rename to content/code-security/how-tos/maintain-quality-code/enable-code-quality.md index 5ccb73a0a132..e109d1bd3d49 100644 --- a/content/code-security/code-quality/how-tos/enable-code-quality.md +++ b/content/code-security/how-tos/maintain-quality-code/enable-code-quality.md @@ -1,7 +1,7 @@ --- 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 %}' @@ -9,6 +9,8 @@ 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 %} diff --git a/content/code-security/how-tos/maintain-quality-code/index.md b/content/code-security/how-tos/maintain-quality-code/index.md new file mode 100644 index 000000000000..bc9edf9f5fcf --- /dev/null +++ b/content/code-security/how-tos/maintain-quality-code/index.md @@ -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 +--- diff --git a/content/code-security/code-quality/how-tos/interpret-results.md b/content/code-security/how-tos/maintain-quality-code/interpret-results.md similarity index 95% rename from content/code-security/code-quality/how-tos/interpret-results.md rename to content/code-security/how-tos/maintain-quality-code/interpret-results.md index 23869a52345b..9b83534135d2 100644 --- a/content/code-security/code-quality/how-tos/interpret-results.md +++ b/content/code-security/how-tos/maintain-quality-code/interpret-results.md @@ -2,7 +2,7 @@ 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 %}' @@ -10,6 +10,8 @@ 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 %} diff --git a/content/code-security/code-quality/how-tos/set-pr-thresholds.md b/content/code-security/how-tos/maintain-quality-code/set-pr-thresholds.md similarity index 94% rename from content/code-security/code-quality/how-tos/set-pr-thresholds.md rename to content/code-security/how-tos/maintain-quality-code/set-pr-thresholds.md index 2e7340721ef5..ffae463e077e 100644 --- a/content/code-security/code-quality/how-tos/set-pr-thresholds.md +++ b/content/code-security/how-tos/maintain-quality-code/set-pr-thresholds.md @@ -1,7 +1,7 @@ --- 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 %}' @@ -9,6 +9,8 @@ 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 %} diff --git a/content/code-security/code-quality/how-tos/unblock-your-pr.md b/content/code-security/how-tos/maintain-quality-code/unblock-your-pr.md similarity index 95% rename from content/code-security/code-quality/how-tos/unblock-your-pr.md rename to content/code-security/how-tos/maintain-quality-code/unblock-your-pr.md index a51a951aaf97..ccbe109bcc35 100644 --- a/content/code-security/code-quality/how-tos/unblock-your-pr.md +++ b/content/code-security/how-tos/maintain-quality-code/unblock-your-pr.md @@ -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 %} diff --git a/content/code-security/secret-scanning/managing-alerts-from-secret-scanning/index.md b/content/code-security/secret-scanning/managing-alerts-from-secret-scanning/index.md index 55037fe5b4eb..2a9d58346ef3 100644 --- a/content/code-security/secret-scanning/managing-alerts-from-secret-scanning/index.md +++ b/content/code-security/secret-scanning/managing-alerts-from-secret-scanning/index.md @@ -18,7 +18,6 @@ topics: shortTitle: Manage alerts children: - /viewing-alerts - - /evaluating-alerts - /resolving-alerts - /monitoring-alerts --- diff --git a/content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/index.md b/content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/index.md index 843d8f5bcda3..721086db8d9b 100644 --- a/content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/index.md +++ b/content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/index.md @@ -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 diff --git a/content/code-security/tutorials/index.md b/content/code-security/tutorials/index.md index 82ef3f24fa2c..9c4784500537 100644 --- a/content/code-security/tutorials/index.md +++ b/content/code-security/tutorials/index.md @@ -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 --- - diff --git a/content/code-security/secret-scanning/managing-alerts-from-secret-scanning/evaluating-alerts.md b/content/code-security/tutorials/remediate-leaked-secrets/evaluating-alerts.md similarity index 97% rename from content/code-security/secret-scanning/managing-alerts-from-secret-scanning/evaluating-alerts.md rename to content/code-security/tutorials/remediate-leaked-secrets/evaluating-alerts.md index 2b3b29a2465e..9873de365711 100644 --- a/content/code-security/secret-scanning/managing-alerts-from-secret-scanning/evaluating-alerts.md +++ b/content/code-security/tutorials/remediate-leaked-secrets/evaluating-alerts.md @@ -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: '*' @@ -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 diff --git a/content/code-security/tutorials/remediate-leaked-secrets/index.md b/content/code-security/tutorials/remediate-leaked-secrets/index.md new file mode 100644 index 000000000000..39f59c330cc0 --- /dev/null +++ b/content/code-security/tutorials/remediate-leaked-secrets/index.md @@ -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 +--- diff --git a/content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/remediating-a-leaked-secret.md b/content/code-security/tutorials/remediate-leaked-secrets/remediating-a-leaked-secret.md similarity index 99% rename from content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/remediating-a-leaked-secret.md rename to content/code-security/tutorials/remediate-leaked-secrets/remediating-a-leaked-secret.md index 8bc4a2f89512..39822b569c14 100644 --- a/content/code-security/secret-scanning/working-with-secret-scanning-and-push-protection/remediating-a-leaked-secret.md +++ b/content/code-security/tutorials/remediate-leaked-secrets/remediating-a-leaked-secret.md @@ -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 diff --git a/content/migrations/using-github-enterprise-importer/migrating-between-github-products/about-migrations-between-github-products.md b/content/migrations/using-github-enterprise-importer/migrating-between-github-products/about-migrations-between-github-products.md index 2604ad515f8a..4fec001d16e2 100644 --- a/content/migrations/using-github-enterprise-importer/migrating-between-github-products/about-migrations-between-github-products.md +++ b/content/migrations/using-github-enterprise-importer/migrating-between-github-products/about-migrations-between-github-products.md @@ -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. diff --git a/data/reusables/enterprise-migration-tool/data-not-migrated.md b/data/reusables/enterprise-migration-tool/data-not-migrated.md index 79cc2db94f0a..cf4a963da2da 100644 --- a/data/reusables/enterprise-migration-tool/data-not-migrated.md +++ b/data/reusables/enterprise-migration-tool/data-not-migrated.md @@ -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 @@ -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 diff --git a/data/reusables/rest-api/primary-rate-limit-authenticated-users.md b/data/reusables/rest-api/primary-rate-limit-authenticated-users.md index c80404330080..193c88729873 100644 --- a/data/reusables/rest-api/primary-rate-limit-authenticated-users.md +++ b/data/reusables/rest-api/primary-rate-limit-authenticated-users.md @@ -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 %} - \ No newline at end of file + 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 %}