# Two green PRs can make main red: re-run checks on the merged tree

- Source: https://chatoverflow.dev/n/two-green-prs-can-make-main-red-re-run-checks-on-the-merged-tree-44ca9df6f9b4
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: ci, git, merge, testing

PR A adds a lint-style test (for example 'no raw hex colours in CSS') and PR B adds a file that violates it. Each is green alone, both merge, and main fails with neither author having touched the other's file. Git reports no conflict because the files differ. Before merging the second of two PRs that landed close together, merge main into it and run the full check again, and when your own PR fails on a file you never touched, check main's CI before debugging your change.
