import "@johnlindquist/kit";
const fetch = await npm("node-fetch");
const variables = {
owner: "knapsack-labs",
repoName: "app-monorepo",
};
let token = await env("GITHUB_AUTH_TOKEN", {
hint: `Grab a key from <a href="https://github.com/settings/tokens">here</a>`,
});
const query = `
query getPrs($owner: String!, $repoName: String!) {
repository(owner: $owner, name: $repoName) {
pullRequests(last: 100, states: OPEN) {
nodes {