Skip to content

Commit

Permalink
feat: add labels
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Nov 6, 2022
1 parent 7666e05 commit 9c287d8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions actions/create-draft/src/create-draft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ export type Issue = {
author: {
login: string;
}
labels: {
nodes: {
name: string;
color: string;
}[]
}
}
export const fetchIssues = async (
options: { owner: string; repo: string; labels: string[]; GITHUB_TOKEN: string; },
Expand All @@ -33,6 +39,12 @@ export const fetchIssues = async (
author {
login
}
labels(first:10){
nodes {
name
color
}
}
}
}
}
Expand Down

0 comments on commit 9c287d8

Please sign in to comment.