Skip to content

Commit 4ce9b88

Browse files
committed
Add GraphQL-Features header to issue creation request
1 parent 9acd491 commit 4ce9b88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/create-issue-assigned-to-copilot.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ export async function createIssueWithCopilot(description: string): Promise<strin
4444
`, {
4545
owner: GITHUB_REPO_OWNER,
4646
name: GITHUB_REPO_NAME,
47+
headers: {
48+
'GraphQL-Features': GRAPHQL_FEATURES_HEADER,
49+
},
4750
});
4851

4952
const repoId = repoInfo?.repository?.id;

0 commit comments

Comments
 (0)