Skip to content

Add PR change-validation workflow for wiki/docs/assets content#260

Merged
nevalsar merged 1 commit intomasterfrom
feat/add-pr-validation-scripts
May 8, 2026
Merged

Add PR change-validation workflow for wiki/docs/assets content#260
nevalsar merged 1 commit intomasterfrom
feat/add-pr-validation-scripts

Conversation

@nevalsar
Copy link
Copy Markdown
Collaborator

@nevalsar nevalsar commented May 7, 2026

Summary

This PR adds a pull request validation workflow that checks changed content files in wiki/, docs/, and assets/.

What Changed

  • Added workflow:
    • .github/workflows/pr-change-validation.yml
  • Added CI validation scripts:
    • .github/scripts/validate_changed_files_ci.py
    • .github/scripts/validate_markdown_ci.py
    • .github/scripts/validate_images_ci.py
    • .github/scripts/validate_yaml_ci.py

Validation Behavior

  • On PRs, validates only changed files (not whole repository).
  • Scope is limited to:
    • wiki/
    • docs/
    • assets/
  • Markdown checks include:
    • filename format checks (kebab-case with allowed exceptions),
    • broken internal link detection,
    • image reference checks.
  • Parser guards avoid false positives in fenced code blocks and math spans.
  • Supports manual full-scope run via workflow_dispatch.

@nevalsar nevalsar merged commit e707541 into master May 8, 2026
5 checks passed
@nevalsar nevalsar deleted the feat/add-pr-validation-scripts branch May 8, 2026 05:58
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