Skip to content

ci: add release workflow#5

Merged
NoNamer777 merged 1 commit into
mainfrom
ci/add-release-workflow
Jul 18, 2026
Merged

ci: add release workflow#5
NoNamer777 merged 1 commit into
mainfrom
ci/add-release-workflow

Conversation

@NoNamer777

@NoNamer777 NoNamer777 commented Jul 18, 2026

Copy link
Copy Markdown
Member

Summary

Context

This repo had no release.yml yet, only pull-request.yml and push-main.yml. v1.0.0/v1 were cut by hand before any release tooling existed. Per the org's release-tooling ADRs, every repo needs its own validatecreate-release pipeline: signed/validated tags, a required-reviewer gate before release creation, and cross-consumption of the sibling action-validate-release-tag/action-extract-release-notes actions.

Changes

Adds .github/workflows/release.yml:

  • A validate job (no environment gate) that checks tag reachability from main and version match via action-validate-release-tag, fail-fasts on a missing CHANGELOG.md section via action-extract-release-notes (write-file: 'false'), and reuses this repo's own .github/actions/ci composite for format/lint checks.
  • A create-release job (needs: validate, gated behind the release environment) that sets up the workspace without installing dependencies, writes .github/release-notes.md via action-extract-release-notes, and self-hosts (uses: ./) this repo's own action to cut the GitHub Release and its "Announcements" Discussion.

All external actions are pinned to a commit SHA with a # vX.Y.Z comment, per the org's pin convention.

Test Plan

  • Provision the release required-reviewer environment and the "Stable tags"/"Floating major tag" rulesets on this repo before merging (neither exists yet)
  • Confirm validate passes on a vX.Y.Z tag push (tag reachability, version match, changelog section, format/lint)
  • Confirm create-release pauses for approval in the release environment, then successfully creates the GitHub Release and Announcements Discussion

Adds release.yml: a validate job (tag reachability/version/changelog
checks via action-validate-release-tag and action-extract-release-notes,
plus this repo's own format/lint checks) gated ahead of a create-release
job that runs behind the release environment and self-hosts this
repo's own action to cut the GitHub Release.
@NoNamer777
NoNamer777 merged commit d1e0645 into main Jul 18, 2026
3 checks passed
@NoNamer777
NoNamer777 deleted the ci/add-release-workflow branch July 18, 2026 21:18
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