Adds accept header to the dispatch request when requesting a playground build of monaco (#34763)

This commit is contained in:
Orta 2019-10-28 14:07:36 -04:00 committed by Wesley Wigham
parent 634e0ad52b
commit 72b7a6527e

View File

@ -49,7 +49,8 @@ and then running \`npm install\`.
});
// Send a ping to https://github.com/orta/make-monaco-builds#pull-request-builds
await gh.request("POST /repos/orta/make-monaco-builds/dispatches", { event_type: +process.env.SOURCE_ISSUE })
await gh.request("POST /repos/orta/make-monaco-builds/dispatches",
{ event_type: +process.env.SOURCE_ISSUE, headers: { "Accept": "application/vnd.github.everest-preview+json" }})
}
main().catch(async e => {