Skip to content

Conversation

@Rohini-Microsoft
Copy link
Contributor

@Rohini-Microsoft Rohini-Microsoft commented Jul 8, 2025

This pull request adds a new GitHub Actions workflow to check for broken links in markdown files. The workflow is designed to run on pull requests and manual triggers, ensuring that markdown files are free of broken links.

Workflow addition:

.github/workflows/broken-links-checker.yml: Introduced a new workflow named "Broken Link Checker" that uses the lychee-action to validate links in markdown files. It checks only changed markdown files for pull requests and all markdown files for manual triggers.

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

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

Adds a new GitHub Actions workflow to automatically check for broken links in Markdown files on pull requests and via manual dispatch.

  • Detects changed Markdown files in a PR and runs lychee against them.
  • Allows a manual trigger to run lychee against all Markdown files in the repo.
Comments suppressed due to low confidence (2)

.github/workflows/broken-links-checker.yml:27

  • [nitpick] Consider pinning the tj-actions/changed-files action to its semantic version tag (e.g., @v46) instead of a raw commit SHA for clearer maintenance and automatic updates.
        uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46

.github/workflows/broken-links-checker.yml:37

  • [nitpick] The lychee Action invocation is duplicated for PR and manual triggers. Consider extracting this into a reusable workflow or composite action to reduce duplication and simplify future updates.
        uses: lycheeverse/lychee-action@v2.4.1

@Vamshi-Microsoft Vamshi-Microsoft changed the title feat: Add Broken Link Checker workflow for Markdown files ci: Added workflow for checking broken links in Markdown files Jul 8, 2025
@Roopan-Microsoft Roopan-Microsoft merged commit cad2b9c into main Jul 8, 2025
10 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the psl-githubaction branch July 8, 2025 12:12
@github-actions
Copy link

github-actions bot commented Jul 9, 2025

🎉 This PR is included in version 1.5.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants