Skip to content

[Due for payment 2026-02-26] Skip PR Reviewer Checklist / checklist (pull_request_review) for HelpDot files #82600

Closed

Description

@stephanieelliott

Context

#68495 exempted PRs which edit docs/articles/**/*.md files from requiring reviewerChecklist.yml. However some PR are still requiring it. Example: #82341

Action item

Investigate why the test is still failing for some issues and fix it.

Issue OwnerCurrent Issue Owner: @stephanieelliott

Activity

  1. stephanieelliott commented on Feb 16, 2026

    @stephanieelliott
    ContributorAuthor

    Explanation of the problem + solution, from Cursor:

    Click to expand

    Reviewer Checklist Workflow Fix

    Issue Summary

    PRs that only edited docs/articles/**/*.md files were still requiring reviewerChecklist.yml completion, even though issue #68495 was supposed to exempt them.

    Example PR affected: #82341

    Root Cause

    The previous workflow configuration had a fundamental flaw:

    filters: |
      should_run:
        - '!docs/**/*.md'
        - '!docs/**/*.csv'
        - '**'

    The dorny/paths-filter action uses predicate-quantifier: 'some' by default, which means "match if ANY pattern matches". Since ** matches EVERY file, the should_run filter would ALWAYS return true, regardless of the negation patterns.

    The Solution

    Add predicate-quantifier: 'every' to change the logic from "match ANY pattern" to "match ALL patterns":

    predicate-quantifier: 'every'
    filters: |
      should_run:
        - '**'
        - '!docs/**/*.md'
        - '!docs/**/*.csv'

    How It Works

    With predicate-quantifier: 'every', a file must satisfy ALL patterns to be included:

    1. Must match ** (all files do)
    2. Must NOT match docs/**/*.md (negation - docs markdown files fail this)
    3. Must NOT match docs/**/*.csv (negation - docs CSV files fail this)

    Examples:

    src/App.tsx

    • Matches **? ✓
    • Does NOT match docs/**/*.md? ✓
    • Does NOT match docs/**/*.csv? ✓
    • Result: should_run = true → Checklist required ✓

    docs/articles/example.md

    • Matches **? ✓
    • Does NOT match docs/**/*.md? ✗ (file DOES match pattern)
    • Result: should_run = false → Checklist skipped ✓

    Behavior Summary

    • ✅ Docs-only PRs: Checklist is skipped
    • ✅ Code changes: Checklist is required
    • ✅ Mixed docs + code: Checklist is required (at least one non-docs file triggers it)

    Why Previous Attempts Failed

    From git history:

    1. Commit e7732c3 - Used if: steps.filter.outputs.code == 'true' with only src/** pattern, too restrictive
    2. Commit 1abd3b3 - Used negation with default predicate-quantifier: 'some', made ** always match
    3. Commit 51e6a17 - Removed base/head SHA, didn't fix core logic
    4. Commit 71e2d64 - Reordered patterns, but order doesn't matter with predicate-quantifier: 'some'

    Key Documentation Reference

    From dorny/paths-filter README:

    predicate-quantifier: Optional parameter to override the default behavior of file matching algorithm. By default files that match at least one pattern defined by the filters will be included. This parameter allows to override the "at least one pattern" behavior to make it so that all of the patterns have to match or otherwise the file is excluded.

    The documentation specifically shows this example for excluding file types:

    predicate-quantifier: 'every'
    filters: |
      backend:
        - 'pkg/a/b/c/**'
        - '!**/*.jpeg'
        - '!**/*.md'

    Testing the Fix

    Test scenarios for validation:

    1. Docs-only PR (like [No QA] Help site updates for new feature: Home R2-4 [New Expensify]  #82341): Should skip checklist
    2. Code-only PR: Should require checklist
    3. Mixed PR: Should require checklist

    Maintenance

    No maintenance required! The pattern docs/**/*.md automatically covers all subdirectories including docs/articles/**/*.md.

  2. changed the title [-]Auto-pass PR Reviewer Checklist / checklist (pull_request_review) for HelpDot files[/-] [+]Skip PR Reviewer Checklist / checklist (pull_request_review) for HelpDot files[/+] on Feb 16, 2026
  3. added
    Reviewing
    Weekly
    and removed
    Daily
    on Feb 16, 2026
  4. stephanieelliott commented on Feb 16, 2026

    @stephanieelliott
    ContributorAuthor

    Fix: #82603

  5. truph01 commented on Feb 17, 2026

    @truph01
    Contributor

    @stephanieelliott Could you assign me to this issue since I worked on PR?

  6. stephanieelliott commented on Feb 17, 2026

    @stephanieelliott
    ContributorAuthor

    Yep, done @truph01!

  7. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Feb 19, 2026
  8. 2 remaining items

  9. melvin-bot commented on Feb 19, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  10. melvin-bot commented on Feb 19, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.22-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-02-26. 🎊

    For reference, here are some details about the assignees on this issue:

    • @truph01 requires payment through NewDot Manual Requests
  11. added
    Daily
    and removed
    Weekly
    on Feb 26, 2026
  12. truph01 commented on Mar 5, 2026

    @truph01
    Contributor

    @stephanieelliott Could you handle payment here?

  13. melvin-bot commented on Mar 5, 2026

    @melvin-bot

    @stephanieelliott 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  14. melvin-bot commented on Mar 9, 2026

    @melvin-bot

    @stephanieelliott 10 days overdue. I'm getting more depressed than Marvin.

  15. melvin-bot commented on Mar 9, 2026

    @melvin-bot

    @stephanieelliott 10 days overdue. Is anyone even seeing these? Hello?

  16. melvin-bot commented on Mar 11, 2026

    @melvin-bot

    @stephanieelliott 12 days overdue. Walking. Toward. The. Light...

  17. melvin-bot commented on Mar 11, 2026

    @melvin-bot

    @stephanieelliott 12 days overdue now... This issue's end is nigh!

  18. stephanieelliott commented on Mar 12, 2026

    @stephanieelliott
    ContributorAuthor

    Payment Summary

    • Contributor: N/A internal
    • Contributor+: @truph01 due $250 via NewDot
  19. JmillsExpensify commented on Mar 18, 2026

    @JmillsExpensify
    Contributor

    $250 approved for @truph01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentDaily

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions