ci: run test/lint on every PR so required conclusion checks always report#679
Conversation
…port The pull_request trigger still had a paths filter, so a PR not touching those paths never ran the workflow and its required Test/Lint (conclusion) check stayed Pending → PR blocked from merging (observed on #678; confirmed by GitHub docs on path-filtered required checks). Remove the pull_request paths filter so both workflows run on every PR. Per-suite filtering still happens in the changes job (heavy jobs skip when unaffected) and the conclusion job reports success-or-skipped. push: paths are kept as-is.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughGitHub Actions workflow configurations in ChangesWorkflow Trigger Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Problem
After enabling the merge queue,
Test (conclusion)andLint (conclusion)were made required status checks. Buttest.yml/lint.ymlstill had apaths:filter on thepull_requesttrigger, so a PR not touching those paths never runs the workflow — and the required conclusion check stays Pending, blocking the PR from merging.Observed live on #678 (changed only
scripts/test/e2e/**+make/**→test.ymlnever ran →Test (conclusion)missing). Confirmed by GitHub docs: "a workflow skipped due to path filtering... checks... remain 'Pending'... blocked from merging."Fix
Remove the
paths:filter from thepull_requesttrigger on both workflows so they run on every PR (matches rust-analyzer/bevy, which have no top-level paths on their gating workflows). Nothing else changes:changesjob (heavy jobs skip when unaffected).success-or-skipped, so it always reports green for unrelated PRs.push:paths are kept as-is (irrelevant to PR gating).Cost: ~3 small jobs (config/changes/conclusion) per workflow per PR.
Note
PRs opened before #677 merged still lack the conclusion jobs entirely and need a rebase onto
mainto pick them up — separate from this fix.Summary by CodeRabbit