You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
body: `Hey @${process.env.REQUESTING_USER}, I couldn't open a PR with the cherry-pick. ([You can check the log here](https://typescript.visualstudio.com/TypeScript/_build/index?buildId=${process.env.BUILD_BUILDID}&_a=summary)). You may need to squash and pick this PR into ${process.env.TARGET_BRANCH} manually.`
93
-
});
89
+
if(process.env.SOURCE_ISSUE){
90
+
constgh=newOctokit();
91
+
gh.authenticate({
92
+
type: "token",
93
+
token: process.argv[2]
94
+
});
95
+
awaitgh.issues.createComment({
96
+
number: +process.env.SOURCE_ISSUE,
97
+
owner: "Microsoft",
98
+
repo: "TypeScript",
99
+
body: `Hey @${process.env.REQUESTING_USER}, I couldn't open a PR with the cherry-pick. ([You can check the log here](https://typescript.visualstudio.com/TypeScript/_build/index?buildId=${process.env.BUILD_BUILDID}&_a=summary)). You may need to squash and pick this PR into ${process.env.TARGET_BRANCH} manually.`
0 commit comments