ci: gate release workflow to manual dispatch
Some checks failed
Build and Test / Build Server (Linux) (push) Failing after 6m22s
Build and Test / Build Agent (Windows) (push) Failing after 6m29s
Build and Test / Security Audit (push) Has started running
Build and Test / Build Summary (push) Has been cancelled
Run Tests / Test Server (push) Has been cancelled
Run Tests / Test Agent (push) Has been cancelled
Run Tests / Code Coverage (push) Has been cancelled
Run Tests / Lint and Format Check (push) Has been cancelled

Release builds (auto-versioning + Azure Trusted Signing + Gitea release) no longer
run on every push to main; trigger deliberately via workflow_dispatch. build-and-test.yml
remains the automatic PR/push CI gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-29 07:27:17 -07:00
parent 60519be28a
commit f2e0456f8d

View File

@@ -2,7 +2,7 @@ name: Release
# SPEC-001 §2/§3/§4 — auto-versioning, signed Windows build, changelog generation, release. # SPEC-001 §2/§3/§4 — auto-versioning, signed Windows build, changelog generation, release.
# #
# On every push to main this workflow: # When manually dispatched (gated — not on every push), this workflow:
# 1. version — determine the next semver from conventional commits, bump component manifests, # 1. version — determine the next semver from conventional commits, bump component manifests,
# commit `chore: release vX.Y.Z [skip ci]`, and create + push tag vX.Y.Z. # commit `chore: release vX.Y.Z [skip ci]`, and create + push tag vX.Y.Z.
# 2. changelog — generate CHANGELOG.md + per-component changelogs with git-cliff (run inside # 2. changelog — generate CHANGELOG.md + per-component changelogs with git-cliff (run inside
@@ -19,9 +19,10 @@ name: Release
# tool that signs PE binaries on Linux, so no Windows runner is required. # tool that signs PE binaries on Linux, so no Windows runner is required.
on: on:
push: # Gated: releases are deliberate, NOT automatic on every push to main.
branches: # Trigger manually (Actions -> Release -> Run workflow). Auto-versioning still
- main # computes the next semver from conventional commits at dispatch time.
# build-and-test.yml remains the automatic PR/push CI gate.
workflow_dispatch: workflow_dispatch:
jobs: jobs: