PR #1
) is labeled with the trigger label, it behaves the same way as standard mode. The latest base branch is merged into the PR and a new CI is triggered.PR #2
) is labeled with the trigger label, the bot will create a new branch with changes from both PR #1
and PR #2
. Then a Draft PR is created from that new branch to trigger the CI runs. Now instead of monitoring the original PR, the Draft PR’s CI will be monitored.PR#2
(has an associated Draft PR#3
)PR#4
(has an associated Draft PR#5
)Draft PR#3's
CI gets stuck, but a subsequent Draft PR#5's
CI completes, we assume eventual consistency. So the bot merges all PRs up to the PR with a completed Draft PR CI (both PR#2
and PR#4
will be merged), and the associated Draft PRs are closed.