Skip to content

Run docs lint on all PRs - #4166

Merged
roji merged 1 commit into
mainfrom
roji-docs-lint-always
Nov 26, 2026
Merged

roji merged 1 commit into
mainfrom
roji-docs-lint-always

Conversation

@roji

@roji roji commented Nov 26, 2026

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 2190ba6e9efa7e5edd78965e0c8e202a40d4086d

Dimension Assessment Rationale
Change confidence 9/10 ↑ Only the pull_request path filter is removed; the push trigger keeps docs/**, so the rebuild dispatch still fires only on docs changes.
↓ The required-check behavior is unverified until this PR's own run reports lint.

The Documentation workflow is being made a required status check (lint). A path-filtered workflow never reports on PRs that don't touch docs/**, so a required check would block those PRs indefinitely. Linting takes about 10 seconds, so it now runs on every PR.

Relates to npgsql/doc#487

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 26, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the documentation workflow change.

No open issues 🎉

What changed in this PR

Updates the Documentation workflow to report the required lint check on all pull requests, preventing PRs without documentation changes from being blocked by a missing check.

Changes:

  • Removes the docs/** path filter from the pull request trigger.
  • Keeps pushes to main filtered to documentation changes.
File Description
.github/​workflows/​docs.yml Enables documentation lint on all PRs while preserving the push filter.

Review effort: Balanced

@roji
roji merged commit fc8f789 into main Nov 26, 2026
17 checks passed
@roji
roji deleted the roji-docs-lint-always branch November 26, 2026 12:54
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.

2 participants