Skip to content

ci(release): read-only pre-tag eligibility gate (E3-S08) - #18

Merged
konih merged 1 commit into
mainfrom
lane/e3-s08-release-gate
Aug 4, 2026
Merged

ci(release): read-only pre-tag eligibility gate (E3-S08)#18
konih merged 1 commit into
mainfrom
lane/e3-s08-release-gate

Conversation

@konih

@konih konih commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add fixture-tested hack/release/verify-eligibility.sh that fails closed unless a full 40-hex SHA is an ancestor of protected main, required exact-SHA checks (check, changelog) are completed/success, and CHANGELOG.md at that SHA has a Keep-a-Changelog section for the requested version.
  • Add workflow_dispatch-only .github/workflows/release-gate.yaml with read-only contents / checks / pull-requests permissions; scripts load from the default branch; empty sha evaluates current main HEAD; the workflow never tags or publishes.
  • Document the gate in docs/development/release.md (linked from MkDocs + docs/development.md).

Test plan

  • bash hack/release/test-verify-eligibility.sh (short SHA, not-on-main, red check, missing changelog, green path)
  • bash hack/pinned-actions.sh
  • task docs:check
  • task check
  • Operator: gh workflow run release-gate.yaml -f version=0.1.0 against a known main SHA after merge (optional smoke)

Prove a candidate SHA is on protected main with green required checks and a
matching CHANGELOG section before tagging — no tags or publishes from the gate.
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@konih

konih commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Independent review — APPROVE

Verdict: APPROVE (no P0/P1)

Read-only release-gate: full SHA on main, required checks, CHANGELOG section, no tag. P2: escape VERSION in grep (non-blocking).

@konih
konih merged commit db84c4a into main Aug 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant