mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Skip picking PRs in CI for daily alpha
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
2a9a1b43c1
commit
d625709f53
2 files changed
+3
-2
No files matched your search
@@ -206,7 +206,7 @@ function sortExtendedGithubPrData(left: ExtendedGithubPrData, right: ExtendedGit
|
||||
}
|
||||
|
||||
async function getRelevantPRs(previousReleasedVersion: string, baseBranch: string): Promise<ExtendedGithubPrData[]> {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user