is there a way to get PR's not updated in last 6 m...
# pinot-dev
k
is there a way to get PR's not updated in last 6 months?
n
yes.
Copy code
{
  search(query: "repo:apache/incubator-pinot is:pr is:open updated:<2019-10-01", type: ISSUE, last: 100) {
    edges {
      node {
        ... on PullRequest {
          url
          title
          number
        }
      }
    }
  }
}
n
we can use that github api to close them too
k
wow, ok 🙂
let me touch the PR's that should not be closed
and then we can do a bulk close
m
Nice!