diff --git a/tools/getIssue.ts b/tools/getIssue.ts index 999d32e..2cd779b 100644 --- a/tools/getIssue.ts +++ b/tools/getIssue.ts @@ -16,7 +16,7 @@ import "https://deno.land/std@0.136.0/dotenv/load.ts"; */ export async function getIssues(repo: string, token: string): Promise { //check https://docs.github.com/en/rest/reference/issues#list-repository-issues - const res = await fetch(`https://api.github.com/repos/${repo}/issues?per_page=100&labels=feature`, { + const res = await fetch(`https://api.github.com/repos/${repo}/issues?per_page=100&labels=feature&state=all`, { headers: { Accept: 'application/vnd.github.v3+json', Authorization: `Token ${token}`