Skip to content

Exclude translations folder from markdown validation workflow #857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025

Conversation

skytin1004
Copy link
Contributor

🛠️ What’s Changed

This pull request updates the validate-markdown.yml workflow to exclude translation-specific directories from triggering markdown validation checks.

🔄 Changes

  • Added paths-ignore rule to prevent triggering the workflow when only the following folders are modified:
    • translations/**
    • translated_images/**

✅ Why

These folders contain localized markdown and translated images that are frequently updated in bulk. Running validation jobs (e.g., broken link checks, path tracking) on them:

  • Generates excessive noise
  • Flags non-critical issues
  • Slows down review cycles

By excluding these directories, we reduce false positives and streamline the PR validation process.

ℹ️ Note: Translated markdown files are regenerated by Co-op Translator whenever the original content changes.
This includes updated links, so there is no need to validate translated files manually.

Copy link
Contributor

👋 Thanks for contributing @skytin1004! We will review the pull request and get back to you soon.

@github-actions github-actions bot requested a review from koreyspace July 12, 2025 00:44
@leestott leestott self-assigned this Jul 14, 2025
@leestott leestott self-requested a review July 14, 2025 09:11
@leestott leestott merged commit 81d4391 into microsoft:main Jul 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants