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 1
1
# Behind Upstream
2
2
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:
4
8
It passes when tested locally, but fails when the PR is submitted for testing through CI.
5
9
6
10
This is because the CI applies the commit patches to the current upstream branch,
7
11
which may have new test cases, so it won't pass. We need to rebase the PR to the nearest upstream branch.
8
12
9
- This option checks if a PR is based on an older branch upstream.
10
-
11
13
## Configuration
12
14
13
15
This 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