Skip to content

ci(source-map-validation): run core compat test on parser pull requests - #105

Merged
luojiyin1987 merged 1 commit into
masterfrom
ci/core-compat-on-pull-request
Aug 23, 2026
Merged

ci(source-map-validation): run core compat test on parser pull requests#105
luojiyin1987 merged 1 commit into
masterfrom
ci/core-compat-on-pull-request

Conversation

@luojiyin1987

Copy link
Copy Markdown
Contributor

Summary

Closes #104

The source-map validation workflow now also runs on parser pull requests instead of only on manual dispatch and the weekly cron.

A parser PR that breaks lint-md core now fails before merge, not days later.

Changes

  • Add a pull_request trigger to .github/workflows/source-map-validation.yml.
  • Limit the trigger to high-risk paths: src/**, etc/**, package.json, scripts/test-package.mjs.
  • Keep workflow_dispatch and the weekly cron. Core moves independently; its own dependency changes can still break against an unchanged parser.

Notes

  • Docs-only and CI-only PRs do not run this workflow.
  • The workflow needs no secrets. It keeps working on fork PRs.
  • If this check later becomes a required status check, skipped runs (PRs outside the path filter) will block merge. Keep it non-required, or add a paths-filter gate job at that point.

@luojiyin1987
luojiyin1987 merged commit e102ea0 into master Aug 23, 2026
13 checks passed
@luojiyin1987
luojiyin1987 deleted the ci/core-compat-on-pull-request branch August 23, 2026 03:50
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.

ci: validate lint-md core compatibility on parser pull requests

1 participant