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:
parent
2a9a1b43c1
commit
d625709f53
1
.github/workflows/daily-alpha.yml
vendored
1
.github/workflows/daily-alpha.yml
vendored
@ -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 }}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user