pr: remove pending requests
Remove all pending review requests when we merge
This commit is contained in:
@@ -194,7 +194,7 @@ func TestCreatePrBranch(t *testing.T) {
|
||||
t.Error(buf.String())
|
||||
}
|
||||
|
||||
os.CopyFS("/tmp/test", os.DirFS(git.GitPath))
|
||||
os.CopyFS("/tmp/test", os.DirFS(git.GitPath))
|
||||
git.GitExecOrPanic("prj", "reset", "--hard", "testingCreated")
|
||||
rev = strings.TrimSpace(git.GitExecWithOutputOrPanic("prj", "submodule", "status", "testRepo"))[1 : len(req.Pull_Request.Head.Sha)+1]
|
||||
if rev != req.Pull_Request.Head.Sha {
|
||||
|
||||
Reference in New Issue
Block a user