From ba7179d2536640c81e6d339afad63e3fc25d9485 Mon Sep 17 00:00:00 2001 From: Saatvik Arya Date: Sun, 20 Sep 2026 09:39:33 +0530 Subject: [PATCH 1/2] ci: align release workflows with platform runners and path filters Move prepare-release, release-plan, and release-plan-comment onto the blacksmith-2vcpu-ubuntu-2404 runner the platform uses. Gate release-plan on the releaseable paths (.tegami, root manifest/lockfile, tegami scripts, the two published packages), trigger it on ready_for_review instead of every synchronize, and add the per-PR concurrency group. publish.yml stays on ubuntu-latest, matching the platform. --- .github/workflows/prepare-release.yml | 2 +- .github/workflows/release-plan-comment.yml | 2 +- .github/workflows/release-plan.yml | 16 ++++++++++++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index d62a5f8..2641615 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -15,7 +15,7 @@ concurrency: jobs: version: name: draft versions - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 permissions: contents: write pull-requests: write diff --git a/.github/workflows/release-plan-comment.yml b/.github/workflows/release-plan-comment.yml index 221d289..94e3f29 100644 --- a/.github/workflows/release-plan-comment.yml +++ b/.github/workflows/release-plan-comment.yml @@ -16,7 +16,7 @@ jobs: if: > github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 steps: - name: checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/release-plan.yml b/.github/workflows/release-plan.yml index aa2aad4..dbda442 100644 --- a/.github/workflows/release-plan.yml +++ b/.github/workflows/release-plan.yml @@ -2,15 +2,27 @@ name: release plan on: pull_request: - types: [opened, synchronize, reopened] + types: [opened, ready_for_review, reopened] + paths: + - ".tegami/**" + - "package.json" + - "bun.lock" + - "scripts/check-public-packages.mts" + - "scripts/tegami.mts" + - "packages/better-auth/**" + - "packages/email-sdk/**" permissions: contents: read +concurrency: + group: release-plan-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: plan: name: plan release - runs-on: ubuntu-latest + runs-on: blacksmith-2vcpu-ubuntu-2404 steps: - name: checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 From 6b7616d658078ad49a6123eab1bf0b15bd26e12e Mon Sep 17 00:00:00 2001 From: Saatvik Arya Date: Sun, 20 Sep 2026 09:39:38 +0530 Subject: [PATCH 2/2] fix(deps): sync published package versions in bun.lock The 0.2.0 release bumped packages/better-auth and packages/email-sdk package.json versions but left the workspace entries in bun.lock at 0.1.1. Regenerate the lock so a fresh install adds no version churn. --- bun.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bun.lock b/bun.lock index 2229929..3320b35 100644 --- a/bun.lock +++ b/bun.lock @@ -219,7 +219,7 @@ }, "packages/better-auth": { "name": "@samva/better-auth", - "version": "0.1.1", + "version": "0.2.0", "devDependencies": { "@react-email/render": "^2.0.0", "better-auth": "^1.7.2", @@ -236,7 +236,7 @@ }, "packages/email-sdk": { "name": "@samva/email-sdk", - "version": "0.1.1", + "version": "0.2.0", "devDependencies": { "@opencoredev/email-sdk": "^1.1.0", "samva": "^0.5.0",