pr: remove pending requests

Remove all pending review requests when we merge
This commit is contained in:
2025-05-13 18:34:56 +02:00
parent 6968cbc942
commit 9c3658b33e
5 changed files with 41 additions and 9 deletions

View File

@@ -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 {