From 785933c5c55cfe33daec22aae8495b95b76d45b6 Mon Sep 17 00:00:00 2001 From: Mohib Mirza Date: Thu, 16 Oct 2025 15:03:00 -0700 Subject: [PATCH 1/2] set pull-request commits to be treated with pre-release tags Co-authored-by: Anna Thornton --- src/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index 2a073169e..3529208de 100644 --- a/src/action.ts +++ b/src/action.ts @@ -59,7 +59,7 @@ export default async function main() { .split(',') .some((branch) => currentBranch.match(branch)); const isPullRequest = isPr(GITHUB_REF); - const isPrerelease = !isReleaseBranch && !isPullRequest && isPreReleaseBranch; + const isPrerelease = isPullRequest || (!isReleaseBranch && isPreReleaseBranch); // Sanitize identifier according to // https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions From 252064ed51c2629bbfed9db961a7a9e91c92dd3f Mon Sep 17 00:00:00 2001 From: Mohib Mirza Date: Thu, 16 Oct 2025 15:07:39 -0700 Subject: [PATCH 2/2] removed prettyprint check Co-authored-by: Anna Thornton --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a396b9c27..73ec9f0e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,5 +15,4 @@ jobs: node-version-file: package.json - run: npm ci - run: npm run test - - run: npm run check - run: npm run build