Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

ci(release): give the auto-generated brew PR a conventional title (#373)

KageBinaryfc24655d33a5
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 284f7a26..4c2711b5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -533,6 +533,20 @@ jobs:
BRANCH="chore/brew-update-v${VERSION}"
git checkout -b "$BRANCH"
git add Formula/ix.rb
- git commit -m "brew: update formula for v${VERSION}" || exit 0
+ # `chore(brew):`, not `brew:` — pr-title.yml runs
+ # action-semantic-pull-request against a fixed type list that has
+ # never included `brew`, so the formula PR this step opens has to be
+ # retitled by hand before its Conventional title check can pass.
+ # That check is not in the ruleset's required set (only `CI Passed`
+ # is), so it never blocked the merge — this removes the rename, not a
+ # blocker. Applies from v0.9.0 on: pr-title.yml arrived in #282
+ # (2026-06-08) and every earlier formula PR predates it. #367 is the
+ # instance that was renamed by hand.
+ #
+ # Note the real hold is elsewhere: this PR is created by
+ # github-actions[bot], so its workflow runs land in `action_required`
+ # and `CI Passed` never reports until someone approves them. On #364
+ # that meant the title check never ran at all.
+ git commit -m "chore(brew): update formula for v${VERSION}" || exit 0
git push --force-with-lease origin "$BRANCH"
- gh pr create --title "brew: update formula for v${VERSION}" --body "Auto-generated: updates Homebrew formula SHA for v${VERSION}" --base main || true
+ gh pr create --title "chore(brew): update formula for v${VERSION}" --body "Auto-generated: updates Homebrew formula SHA for v${VERSION}" --base main || true
diff --git a/scripts/release.sh b/scripts/release.sh
index 5b43fb55..293d89a3 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -92,5 +92,5 @@ echo "Formula updated at: Formula/ix.rb"
echo ""
echo "To publish the tap, push the updated formula:"
echo " git add Formula/ix.rb"
-echo " git commit -m \"brew: update formula for $TAG\""
+echo " git commit -m \"chore(brew): update formula for $TAG\""
echo " git push origin main"