From a8fe42273fbb38423f7917a09f5368f934d93e6b Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 2 Jan 2024 18:34:08 +0530 Subject: [PATCH] comments --- createPRToBeta.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/createPRToBeta.js b/createPRToBeta.js index c99adb1034..f5091158d7 100644 --- a/createPRToBeta.js +++ b/createPRToBeta.js @@ -1,3 +1,9 @@ +// This script can be used to open a PR for base branch 'remix_beta' using an existing pull request +// Pull request number should be provided while running this script +// It will use the reference branch same as the shared PR +// To create a new PR, Github auth token with scope 'repo' needs to be provided +// Command to run this script: fromPR=4369 authToken=abc123 node createPRToBeta.js + const { Octokit } = require("octokit"); async function createPR(prNumber, baseBranch) { @@ -30,5 +36,3 @@ async function createPR(prNumber, baseBranch) { } createPR(process.env.fromPR, 'remix_beta') - -// Run: fromPR=4369 authToken=abc123 node createPRToBeta.js \ No newline at end of file