From 545824068f17cfbad90336c99a0ef750158c4e7e Mon Sep 17 00:00:00 2001 From: Sabyasachi Date: Fri, 14 Aug 2026 10:45:33 +0000 Subject: [PATCH] ci: run tests on every pull request, not only those targeting main A stacked PR based on another feature branch reported no checks at all. That is worse than a failure: a required status check that never reports counts as pending, so enabling required checks would block such a PR permanently with nothing to fix. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32aaba8..cce35c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,10 @@ name: Run Tests on: + # No branch filter: a stacked PR based on another feature branch must still run + # tests. With a filter, such PRs report no checks at all — and a required status + # check that never reports counts as pending, blocking the merge forever. pull_request: - branches: ["main"] env: NODE_VERSION: 24