We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0123dd9 + e6c9d66 commit 876fc62Copy full SHA for 876fc62
1 file changed
pkg/cmd/ci/run.go
@@ -213,7 +213,9 @@ This command is in beta and subject to change.`,
213
WorkflowContent: []string{string(yamlBytes)},
214
}
215
216
- if headSHA, err := resolveHEAD(workflowDir); err == nil {
+ if patch != nil {
217
+ req.Sha = &patch.mergeBase
218
+ } else if headSHA, err := resolveHEAD(workflowDir); err == nil {
219
req.Sha = &headSHA
220
221
0 commit comments