Skip to content

ci: main runs only the release; the gates run locally - #83

Merged
crazeydave merged 1 commit into
mainfrom
ci/release-only-main
Nov 19, 2026
Merged

crazeydave merged 1 commit into
mainfrom
ci/release-only-main

Conversation

@crazeydave

@crazeydave crazeydave commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Makes main build the official release and nothing else, for faster release runs.

What changes

  • On main, only the release job runs. It raises the version, builds the zip, makes the chore(release) commit and publishes the GitHub Release that /deploy installs, in about a minute. The full gates no longer run first; with Semgrep and PHPStan that was about 2½ minutes per merge.
  • The gates (ci) run on Dependabot's pull requests only. Nobody checks those locally. Every other PR's gates run locally with ci-local.ps1, which reads this job and ignores its job-level if:.
  • release loses needs:. With the gates skipped on main, a release waiting on them would be skipped too.

Same design as whats-on #13, applied to all 21 plugins.

What main gives up

A 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 (needs SEMGREP_APP_TOKEN) and weekly over main in semgrep.yml.

This changes CI only, so it is merged with [skip ci] and cuts no release on its own.

RetriggerView in GreptileConfidence 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.

  • Main releases now run without waiting for the CI gates.

No actionable issues found.

Reviews (1) · Last reviewed commit: "ci: main runs only the release; the gate..." · Reviewed by Greptile

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.
@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6579b294-784b-4eb4-9978-932c47901bc5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@crazeydave
crazeydave merged commit eb79654 into main Nov 19, 2026
8 checks passed
@crazeydave
crazeydave deleted the ci/release-only-main branch November 19, 2026 16:40
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