Skip to content

Commit

Permalink
fix(github): Use correct head format to filter fork PR (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
fioncat authored Jan 25, 2024
1 parent 8675462 commit aa1bd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl From<MergeOptions> for PullRequestOptions {
let (head, head_search, owner, name) = match upstream {
Some(upstream) => {
let head = format!("{owner}:{source}");
let head_search = format!("{owner}/{source}");
let head_search = format!("{owner}/{name}:{source}");
(head, head_search, upstream.owner, upstream.name)
}
None => {
Expand Down

0 comments on commit aa1bd20

Please sign in to comment.