From 422a3478df2e1cdb641c88796f6748f87e88141c Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Wed, 30 Jul 2025 11:01:34 -0400 Subject: [PATCH] fix: improve dist update messaging and ensure proper CI flow - Add clear message when dist is auto-updated - Exit with code 1 to prevent auto-merge of out-of-date dist - This ensures the PR must pass CI again after dist update --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88c2fbe..bdf859f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,10 @@ jobs: git add dist/ git commit -m "chore: update dist" --no-verify git push - exit 1 # Fail CI, to ensure the PR does not auto-merge + echo "" + echo "✅ Updated dist/ directory. The check-dist job will pass on the next CI run." + echo "" + exit 1 # Fail to prevent auto-merge of out-of-date dist # For PRs from forks, fail with instructions - name: Fail if dist is out of date (fork PR)