Skip to content

ci(release): gate the tag on the pull request CI instead of re-running checks - #48

Merged
rennf93 merged 1 commit into
masterfrom
ci/release-gate-green-ci
Oct 16, 2026
Merged

rennf93 merged 1 commit into
masterfrom
ci/release-gate-green-ci

Conversation

@rennf93

@rennf93 rennf93 commented Oct 16, 2026

Copy link
Copy Markdown
Member

Closes #47

I changed the Release Gate so it checks the same thing the pull request did instead of re-running checks at the tag.

  • The tag comes from the v* tag push or from a new required tag input on workflow_dispatch, is validated against ^v[0-9]+\.[0-9]+\.[0-9]+$, and is checked out as refs/tags/<tag>.
  • The PHP matrix and composer audit jobs are replaced by a Require green CI on the tagged commit step: the newest push run of ci.yml, static-analysis.yml, live-smoke.yml on the tagged commit must have concluded success, waiting up to an hour. The script and comment style are the ones from guard-core-rs (ci(release): publish a tag only from green CI, and re-drive by tag input guard-core-rs#156).
  • Composer audit is dropped from the tag run: it is a job of ci.yml on the same commit and the same composer.json, so it is already covered by the ci.yml requirement. No check has to wait for the tag to exist, so the workflow is the single verify job.
  • Docs that described the old flow are updated.

PR CI gap-filling: every command the old release workflow ran (php -l sweep, the bin/ runners, composer audit, PHP 8.2 to 8.4) is already in ci.yml on pull requests, so nothing needed adding.

@github-actions github-actions Bot added documentation Docs, README, governance files ci GitHub Actions workflows labels Oct 16, 2026
@rennf93
rennf93 merged commit cfa9acd into master Oct 16, 2026
18 checks passed
@rennf93
rennf93 deleted the ci/release-gate-green-ci branch October 16, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci GitHub Actions workflows documentation Docs, README, governance files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(release): gate the tag on the pull request CI instead of re-running checks

1 participant