Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 22, 2025

Description

This PR corrects the spelling of "hygiene" (previously misspelled as "hygine") in the Security Hygiene Guide for Project Maintainers page URL and sidebar label.

Changes

  • Renamed file: docs/projects/best-practices/security/security-hygine.mdsecurity-hygiene.md
  • Updated sidebar label: Changed from "Security Hygine" to "Security Hygiene" in the page frontmatter
  • Updated redirects: Modified static/_redirects to:
    • Update existing redirect rules from /maintainers/security/security-guidelines* to point to the corrected URL
    • Add new redirect rules from the old misspelled URL /projects/best-practices/security/security-hygine* to the corrected URL /projects/best-practices/security/security-hygiene/

Impact

Users visiting the old misspelled URL at https://contribute.cncf.io/projects/best-practices/security/security-hygine/ will be automatically redirected (301 permanent redirect) to the correct URL at https://contribute.cncf.io/projects/best-practices/security/security-hygiene/.

All existing links and bookmarks remain functional through the redirect rules, ensuring backward compatibility.

Fixes the issue reported in the original ticket where the Security Hygiene Guide had an incorrect URL slug.

Original prompt

This section details on the original issue you should resolve

<issue_title>Correct the spelling of "Hygiene"</issue_title>
<issue_description>Correct spelling of "hygine" in the slug for the "Security Hygiene Guide for Project Maintainers" page.

https://contribute.cncf.io/projects/best-practices/security/security-hygine/</issue_description>

<agent_instructions>Provide an update to the _redirect file so that anyone visiting the old URL will be redirected to the new corrected one.</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Fixes #89


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@netlify
Copy link

netlify bot commented Oct 22, 2025

Deploy Preview for contribute-cncf-io ready!

Name Link
🔨 Latest commit 0086624
🔍 Latest deploy log https://app.netlify.com/projects/contribute-cncf-io/deploys/6908c71083cc830008d0b115
😎 Deploy Preview https://deploy-preview-90--contribute-cncf-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nate-double-u nate-double-u marked this pull request as ready for review October 22, 2025 21:53
Copilot AI review requested due to automatic review settings October 22, 2025 21:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR corrects a spelling error in the URL slug and references for the Security Hygiene Guide, changing "hygine" to the correct spelling "hygiene". The changes ensure proper SEO, user experience, and maintain backward compatibility through appropriate redirects.

Key Changes:

  • Renamed the markdown file from security-hygine.md to security-hygiene.md
  • Updated the sidebar_label metadata to use correct spelling
  • Added redirects to preserve old URLs and updated existing redirects to point to the corrected URL

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
static/_redirects Updated existing redirects and added new redirects from the misspelled URL to the corrected URL
docs/projects/best-practices/security/security-hygiene.md Corrected the sidebar_label from "Security Hygine" to "Security Hygiene"

Copy link
Member

@nate-double-u nate-double-u left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @copilot.

@nate-double-u nate-double-u changed the title [WIP] Correct spelling of hygiene in slug for security guide Correct spelling of hygiene in slug for security guide Oct 22, 2025
@nate-double-u nate-double-u enabled auto-merge (squash) October 22, 2025 21:56
Copilot AI changed the title Correct spelling of hygiene in slug for security guide Fix spelling of "hygiene" in Security Hygiene Guide URL and labels Oct 22, 2025
Copilot AI requested a review from nate-double-u October 22, 2025 21:57
Copilot finished work on behalf of nate-double-u October 22, 2025 21:57
@nate-double-u nate-double-u merged commit dc02901 into main Nov 3, 2025
5 checks passed
@nate-double-u nate-double-u deleted the copilot/fix-hygiene-spelling-issue branch November 3, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct the spelling of "Hygiene"

3 participants