Release workflow: build only on the release branch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon ThomasandClaude Opus 5.5 committed 2026-10-06 02:07:54 -04:00
1 parent c7614ecec8
commit 0c2a68ecdb
1 file changed
+3
+3
View File
@@ -42,6 +42,9 @@ env:
jobs:
version:
name: version
# Only the release branch builds (a manual dispatch from any other ref skips everything). The
# branch itself is writable only by release-managers and org admins (ruleset "release").
if: github.ref == 'refs/heads/release'
runs-on: ubuntu-latest
environment: release
outputs: