We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b21a0f commit 166ac92Copy full SHA for 166ac92
scm/driver/harness/pr.go
@@ -182,7 +182,7 @@ func convertPullRequest(src *pr) *scm.PullRequest {
182
Email: src.Author.Email,
183
},
184
Fork: "fork",
185
- Ref: fmt.Sprintf("refs/pull/%d/head", src.Number),
+ Ref: fmt.Sprintf("refs/pullreq/%d/head", src.Number),
186
Closed: src.State == "closed",
187
}
188
scm/driver/harness/testdata/pr.json.golden
@@ -3,7 +3,7 @@
3
"Title": "pull title",
4
"Body": "pull description",
5
"Sha": "",
6
- "Ref": "refs/pull/1/head",
+ "Ref": "refs/pullreq/1/head",
7
"Source": "bla",
8
"Target": "main",
9
"Fork": "fork",
0 commit comments