From a05b84fb48f3c88ed48597af60d3cef284e1b994 Mon Sep 17 00:00:00 2001 From: Jon Kinney Date: Sat, 30 May 2026 21:34:51 -0500 Subject: [PATCH] ci(release-plz): gate release-pr on the publish job release-pr ran in parallel with the publish job, so it could query the registry before the just-merged version finished publishing and open phantom patch-release PRs with no real content. After rapid back-to-back release merges this chains into a string of empty releases. Gate release-pr on `release` so it always computes against a settled registry. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release-plz.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 0440308..e984fc2 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -43,6 +43,10 @@ jobs: # every push to main. release-pr: name: release-plz PR + # Gate on the publish job: a release-pr that runs while a publish is + # still in flight reads a pre-publish registry and opens phantom + # patch releases (seen after rapid back-to-back release merges). + needs: release runs-on: ubuntu-24.04 concurrency: group: release-plz-pr