Skip to content

Commit 2224fb6

Browse files
xizheyinUrgau
andauthored
Update src/triagebot/behind-upstream.md
Co-authored-by: Urgau <[email protected]>
1 parent 1266f7b commit 2224fb6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/triagebot/behind-upstream.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
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:
48
It passes when tested locally, but fails when the PR is submitted for testing through CI.
59

610
This is because the CI applies the commit patches to the current upstream branch,
711
which 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

1315
This feature is enabled on a repository by having a `[behind-upstream]` table in `triagebot.toml`:

0 commit comments

Comments
 (0)