Below is the query I use to find associated PRs for a given sha but it doesn’t include PRs if they are from forks.
How can I modify it to also include PRs from forks?
query associatedPRs($sha: String, $repo: String!, $owner: String!){
repository(name: $repo, owner: $owner) {
commit: object(expression: $sha) {
... on Commit {
associatedPullRequests(first:5){
edges{
node{
title
number
body
}
}
}
}
}
}
}