...
Code Block | ||
---|---|---|
| ||
//retrieve the PR source code from the Git based SCM git clone git@github.repo/repo.git //retrieve the sha1 beforecreate a local integration branch starting from the target branch - do not push it to the localremote mergegit exportcheckout commitSha1 = `git rev-parse HEAD`-b <local-integration-branch-name> <target-branch> //Merge latestpull changesrequest frominto thelocal targetintegration branch git checkout branch_name pull --ff git@github.repo/repo.git <pull-request-branch> ... //run sealights build |
Cause #2
The target branch contains commits that were not reported to sealights and the user merged from the target branch to the pull request branch
...