diff --git a/.github/workflows/daily-alpha.yml b/.github/workflows/daily-alpha.yml index ff48f37922..51030ce5b1 100644 --- a/.github/workflows/daily-alpha.yml +++ b/.github/workflows/daily-alpha.yml @@ -28,4 +28,5 @@ jobs: npm run create-release-pr env: BUMP_PACKAGE_ARGS: -- --conventional-commits --conventional-prerelease --yes + PICK_ALL_PRS: "true" GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/packages/release-tool/src/index.ts b/packages/release-tool/src/index.ts index 8ceaa64f43..9f161624e8 100755 --- a/packages/release-tool/src/index.ts +++ b/packages/release-tool/src/index.ts @@ -206,7 +206,7 @@ function sortExtendedGithubPrData(left: ExtendedGithubPrData, right: ExtendedGit } async function getRelevantPRs(previousReleasedVersion: string, baseBranch: string): Promise { - console.log("retrieving previous 200 PRs..."); + console.log(`retrieving previous 200 PRs from ${baseBranch}...`); const milestone = formatVersionForPickingPrs(await getCurrentVersionOfSubPackage("core")); const getMergedPrsArgs = [ @@ -334,7 +334,7 @@ async function pickRelevantPrs(prs: ExtendedGithubPrData[], isMasterBranch: bool throw new Error("Cannot pick relevant PRs for release if there are none. Are the milestones on github correct?"); } - if (isMasterBranch) { + if (isMasterBranch || process.env.PICK_ALL_PRS === "true") { return prs; }