pull/5370/head
aniket-engg 11 months ago committed by Aniket
parent 8f3c4a7122
commit 650f559287
  1. 8
      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
Loading…
Cancel
Save