Skip to content

Scope markdown link checks on PRs#107

Merged
Muhtasham merged 1 commit into
CodeClash-ai:mainfrom
Muhtasham:feat/pr-scoped-link-check
Jun 22, 2026
Merged

Scope markdown link checks on PRs#107
Muhtasham merged 1 commit into
CodeClash-ai:mainfrom
Muhtasham:feat/pr-scoped-link-check

Conversation

@Muhtasham

Copy link
Copy Markdown
Contributor

Summary

  • scope markdown link checks on pull requests to modified files only
  • keep full-repository link checks for scheduled/manual runs
  • switch checkout from actions/checkout@master to actions/checkout@v4

Why

The current workflow scans every Markdown file on every PR. That means unrelated stale external links can block arena/code PRs even when the PR did not touch docs. PRs should fail for links they introduce or modify; repo-wide link rot is still useful, but it belongs in the scheduled/manual full scan.

This keeps fast PR feedback while preserving a periodic full-repo audit.

Verification

  • Parsed .github/workflows/check-links.yaml with PyYAML and asserted both job guards.

@Muhtasham Muhtasham merged commit 025608b into CodeClash-ai:main Jun 22, 2026
4 checks passed
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.

1 participant