Skip to content

Commit e39bdc3

Browse files
author
Orta
authored
Adds back the script to request a playrgound build (microsoft#35168)
1 parent 2511f34 commit e39bdc3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/post-vsts-artifact-comment.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async function main() {
3333
// so that the playgrounds deployment process can find these comments.
3434

3535
await gh.issues.createComment({
36-
number: +process.env.SOURCE_ISSUE,
36+
issue_number: +process.env.SOURCE_ISSUE,
3737
owner: "Microsoft",
3838
repo: "TypeScript",
3939
body: `Hey @${process.env.REQUESTING_USER}, I've packed this into [an installable tgz](${link}). You can install it for testing by referencing it in your \`package.json\` like so:
@@ -50,8 +50,7 @@ and then running \`npm install\`.
5050

5151
// Temporarily disable until we get access controls set up right
5252
// Send a ping to https://github.com/orta/make-monaco-builds#pull-request-builds
53-
// await gh.request("POST /repos/orta/make-monaco-builds/dispatches",
54-
// { event_type: +process.env.SOURCE_ISSUE, headers: { "Accept": "application/vnd.github.everest-preview+json" }})
53+
await gh.request("POST /repos/orta/make-monaco-builds/dispatches", { event_type: process.env.SOURCE_ISSUE, headers: { Accept: "application/vnd.github.everest-preview+json" }});
5554
}
5655

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

0 commit comments

Comments
 (0)