@@ -26,8 +26,8 @@ def test_pr_local_eval(helpers: Helpers, capfd: pytest.CaptureFixture) -> None:
2626 f .write ("foo" )
2727 subprocess .run (["git" , "add" , "." ])
2828 subprocess .run (["git" , "commit" , "-m" , "example-change" ])
29- subprocess .run (["git" , "checkout" , "-b" , "pull/1/head " ])
30- subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/head " ])
29+ subprocess .run (["git" , "checkout" , "-b" , "pull/1/merge " ])
30+ subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/merge " ])
3131
3232 path = main (
3333 "nixpkgs-review" ,
@@ -54,8 +54,8 @@ def test_pr_local_eval_missing_nom(
5454 f .write ("foo" )
5555 subprocess .run (["git" , "add" , "." ])
5656 subprocess .run (["git" , "commit" , "-m" , "example-change" ])
57- subprocess .run (["git" , "checkout" , "-b" , "pull/1/head " ])
58- subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/head " ])
57+ subprocess .run (["git" , "checkout" , "-b" , "pull/1/merge " ])
58+ subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/merge " ])
5959
6060 path = main (
6161 "nixpkgs-review" ,
@@ -82,8 +82,8 @@ def test_pr_local_eval_without_nom(
8282 f .write ("foo" )
8383 subprocess .run (["git" , "add" , "." ])
8484 subprocess .run (["git" , "commit" , "-m" , "example-change" ])
85- subprocess .run (["git" , "checkout" , "-b" , "pull/1/head " ])
86- subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/head " ])
85+ subprocess .run (["git" , "checkout" , "-b" , "pull/1/merge " ])
86+ subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/merge " ])
8787
8888 path = main (
8989 "nixpkgs-review" ,
@@ -110,8 +110,8 @@ def test_pr_local_eval_with_sandbox(helpers: Helpers) -> None:
110110 f .write ("foo" )
111111 subprocess .run (["git" , "add" , "." ])
112112 subprocess .run (["git" , "commit" , "-m" , "example-change" ])
113- subprocess .run (["git" , "checkout" , "-b" , "pull/1/head " ])
114- subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/head " ])
113+ subprocess .run (["git" , "checkout" , "-b" , "pull/1/merge " ])
114+ subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/1/merge " ])
115115
116116 path = main (
117117 "nixpkgs-review" ,
@@ -135,8 +135,8 @@ def test_pr_ofborg_eval(mock_urlopen: MagicMock, helpers: Helpers) -> None:
135135 f .write ("foo" )
136136 subprocess .run (["git" , "add" , "." ])
137137 subprocess .run (["git" , "commit" , "-m" , "example-change" ])
138- subprocess .run (["git" , "checkout" , "-b" , "pull/37200/head " ])
139- subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/37200/head " ])
138+ subprocess .run (["git" , "checkout" , "-b" , "pull/37200/merge " ])
139+ subprocess .run (["git" , "push" , str (nixpkgs .remote ), "pull/37200/merge " ])
140140
141141 mock_urlopen .side_effect = [
142142 mock_open (read_data = helpers .read_asset ("github-pull-37200.json" ))(),
0 commit comments