Repository navigation
ci: main runs only the release; the gates run locally - #83
Merged
Merged
Conversation
On main the release job alone runs: version, zip, chore(release) commit, GitHub Release. The gates job runs on Dependabot's pull requests only; every other PR's gates run locally with ci-local.ps1. release loses needs:, since a release waiting on a skipped job is skipped too. Same design as whats-on #13.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Makes
mainbuild the official release and nothing else, for faster release runs.What changes
main, only thereleasejob runs. It raises the version, builds the zip, makes thechore(release)commit and publishes the GitHub Release that/deployinstalls, in about a minute. The full gates no longer run first; with Semgrep and PHPStan that was about 2½ minutes per merge.ci) run on Dependabot's pull requests only. Nobody checks those locally. Every other PR's gates run locally withci-local.ps1, which reads this job and ignores its job-levelif:.releaselosesneeds:. With the gates skipped onmain, a release waiting on them would be skipped too.Same design as whats-on #13, applied to all 21 plugins.
What
maingives upA merge is only as checked as its local run. Semgrep's critical/high check no longer runs before a release; it runs with
ci-local -Semgrep(needsSEMGREP_APP_TOKEN) and weekly overmaininsemgrep.yml.This changes CI only, so it is merged with
[skip ci]and cuts no release on its own.

Confidence Score: 5/5
The PR appears safe to merge under the explicitly accepted reliance on local checks.Summary
This PR makes releases run without waiting for hosted checks, while keeping those checks for Dependabot pull requests.
No actionable issues found.
Reviews (1) · Last reviewed commit: "ci: main runs only the release; the gate..." · Reviewed by Greptile