From 3122729877f56dd41b2c1a3c4c7209c4088bd2ca Mon Sep 17 00:00:00 2001 From: dan-claude-bot Date: Sat, 18 Jul 2026 21:18:01 +0000 Subject: [PATCH] fix: release.yml triggers on every tag, so a mismatch fails loudly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A shape-filtered trigger silently skips the tags it doesn't match — a habitual v0.7.0 would mint nothing and say nothing. rig's release.yml (heavy-duty/rig#40) already triggers on '**' and lets the tag==VERSION assert be the loud gate; align box to that. Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b24398d..6426936 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,10 @@ name: release # tag IS the package, and install.sh downloads exactly that. on: push: - tags: ["[0-9]*.[0-9]*.[0-9]*"] + # Every tag, not a shape filter (rig's precedent): a tag that mismatches + # VERSION — a habitual v0.7.0, a typo — must fail the assert LOUDLY + # below, not be silently skipped by a pattern that didn't match. + tags: ["**"] permissions: contents: write # gh release create