Skip to content

fix(code-security): repair validity checks anchor - #46078

Merged
subatoi merged 1 commit into
github:mainfrom
aniruddhaadak80:fix/validity-checks-anchor-46076
Sep 25, 2026
Merged

subatoi merged 1 commit into
github:mainfrom
aniruddhaadak80:fix/validity-checks-anchor-46076

Conversation

@aniruddhaadak80

@aniruddhaadak80 aniruddhaadak80 commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Why:

Closes #46076

The enterprise secret scanning setup guide linked to #about-validity-checks, but the target article has no such heading or rendered ID. The existing target heading is Enabling validity checks, so readers following the link were sent to a nonexistent fragment.

What's being changed (if available, include any code snippets, screenshots, or gifs):

  • Update the validity-checks link to #enabling-validity-checks.
  • Leave the surrounding version gate, instructions, and rendered content unchanged.
  • This is a content-only correction with no generated, translated, workflow, or site-code changes.

Validation completed with Node.js v24.19.0:

  • npm run build — passed.
  • npm run lint-content -- --paths content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/configure-secret-scanning.md — passed with no errors.
  • npm test -- --no-file-parallelism --maxWorkers=1 src/content-render/tests/render-changed-and-deleted-files.ts with CHANGED_FILES set to the edited article — 2 tests passed.
  • npm run check-links-pr -- --files content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/configure-secret-scanning.md — 6 links checked; no broken links. The checker reported three unrelated pre-existing redirects elsewhere in the same article.
  • npm run tsc — passed.
  • git diff --check — passed.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Sep 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/configure-secret-scanning.md ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@MyaserAL-Healy

MyaserAL-Healy commented Sep 25, 2026 via email

Copy link
Copy Markdown

@subatoi subatoi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aniruddhaadak80—I'll get this merged now

@subatoi
subatoi added this pull request to the merge queue Sep 25, 2026
Merged via the queue into github:main with commit 8c75b0e Sep 25, 2026
55 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡

@ledat0316-cmyk

ledat0316-cmyk commented Sep 25, 2026 via email

Copy link
Copy Markdown

@jxh19250-gif jxh19250-gif left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix the validity checks link in enterprise secret scanning setup

6 participants