Skip to content

Commit 72b7a65

Browse files
Ortaweswigham
Orta
authored andcommitted
Adds accept header to the dispatch request when requesting a playground build of monaco (#34763)
1 parent 634e0ad commit 72b7a65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/post-vsts-artifact-comment.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ and then running \`npm install\`.
4949
});
5050

5151
// Send a ping to https://github.com/orta/make-monaco-builds#pull-request-builds
52-
await gh.request("POST /repos/orta/make-monaco-builds/dispatches", { event_type: +process.env.SOURCE_ISSUE })
52+
await gh.request("POST /repos/orta/make-monaco-builds/dispatches",
53+
{ event_type: +process.env.SOURCE_ISSUE, headers: { "Accept": "application/vnd.github.everest-preview+json" }})
5354
}
5455

5556
main().catch(async e => {

0 commit comments

Comments
 (0)