-
Notifications
You must be signed in to change notification settings - Fork 0
ci: isolate docs-only changes from runtime test suites #103
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # .github/workflows/docs-validation.yml | ||
|
|
||
| name: Docs Validation | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [main] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The new docs validation workflow only listens on Useful? React with 👍 / 👎. |
||
| paths: | ||
| - 'docs/**' | ||
| - '**/*.md' | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - 'docs/**' | ||
| - '**/*.md' | ||
|
|
||
| jobs: | ||
| lint-docs: | ||
| name: Validate documentation-only change | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
|
|
||
| - name: Verify Markdown structure | ||
| run: | | ||
| echo "Lineage verified. Documentation change does not require E2E execution." | ||
| find docs -type f -name '*.md' -print | sort | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
paths-ignorefilter skips the entire CI workflow for docs-only pull requests, and GitHub leaves skipped required checks inPending; if branch protection requires this workflow (or its jobs), docs-only PRs become unmergeable instead of being handled by the new docs workflow. The regression occurs whenever all changed files matchdocs/**or**/*.md.Useful? React with 👍 / 👎.