File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Behind Upstream
22
3- This is what happens when a PR's code is based on a very old commit from an upstream branch:
3+ This handler checks if a PR is based on an * X* days old commit.
4+
5+ ## Context
6+
7+ When a PR's code is based on a very old commit from an upstream branch:
48It passes when tested locally, but fails when the PR is submitted for testing through CI.
59
610This is because the CI applies the commit patches to the current upstream branch,
711which may have new test cases, so it won't pass. We need to rebase the PR to the nearest upstream branch.
812
9- This option checks if a PR is based on an older branch upstream.
10-
1113## Configuration
1214
1315This feature is enabled on a repository by having a ` [behind-upstream] ` table in ` triagebot.toml ` :
You can’t perform that action at this time.
0 commit comments