Repository navigation
chore: add CI preflight gate to release workflow - #100
Merged
jflowers merged 1 commit intoJun 10, 2026
Merged
Conversation
jflowers
force-pushed
the
opsx/release-preflight-gate
branch
from
June 3, 2026 21:44
b9054cb to
afd9deb
Compare
- Switch release trigger from tag-push to workflow_dispatch - Add preflight job: tag validation, semver ordering, CI verification via Checks API, unreleased commits guard - Tighten permissions to least-privilege per job - Add concurrency group to prevent parallel releases - Replace GITHUB_REF_NAME with RELEASE_TAG env in sign-macos - Update AGENTS.md CI/CD section - Add OpenSpec change artifacts Closes unbound-force#98
jflowers
force-pushed
the
opsx/release-preflight-gate
branch
from
June 3, 2026 21:45
afd9deb to
c85199b
Compare
This was referenced Jun 4, 2026
5 tasks
marcusburghardt
approved these changes
Jun 5, 2026
marcusburghardt
left a comment
Contributor
There was a problem hiding this comment.
LGTM. It is consistent to what we have in complyctl, for example, and actually also brings some nice improvements that we could also adopt there. Filed an issue for this: complytime/complyctl#560
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a
preflightjob to the release workflow that validates preconditions before building and publishing release artifacts. Replicates the pattern fromunbound-force/unbound-force's release workflow.Changes
push: tags: v*→workflow_dispatchwithtaginputvMAJOR.MINOR.PATCH)permissions: {}at workflow level)release-${{ github.ref }}groupGITHUB_REF_NAME→RELEASE_TAGenv, addedset -euo pipefailHow to Release (new process)
Or use the GitHub Actions "Run workflow" button.
Closes #98