Skip to content

Run macOS on main only, and release only what main proved - #17

Merged
Mpdreamz merged 1 commit into
mainfrom
ci/macos-main-gate
Nov 12, 2026
Merged

Mpdreamz merged 1 commit into
mainfrom
ci/macos-main-gate

Conversation

@Mpdreamz

Copy link
Copy Markdown
Contributor

macOS now runs only on pushes to main, and a release publishes only a commit whose main run passed.

Prompt summary: Take macOS off pull requests and the release path, since those runners are severely constrained, and make every release check that main is green first.

What

  • aot-validate (both smoketests): the matrix adds macos-latest only on push (main); pull requests run Linux and Windows.
  • build, aot-validate and docs no longer run on release. build was already Linux only, and the required check build / ci (ubuntu-latest) keeps its name.
  • release calls the shared release.yml at v1.6.1, whose main-green job waits up to an hour for main's ci.yml push run on the released commit and fails unless it succeeded. It now grants actions: read and needs: zizmor only (it used to need build, which is skipped on release now). The shared workflow packs on its own, so nothing came from build.
  • nuget-publish and the other nullean/.github refs bumped to v1.6.1.
  • layar is not released yet. This gate is in place for when it is. A models-* release still publishes no packages.

No osx-arm64 release assets are configured, so nothing on macOS runs on release.

Event Jobs (runner)
pull_request build / ci (ubuntu-latest), zizmor (ubuntu), aot-validate x2 smoketests (ubuntu-latest, windows-latest), docs (ubuntu)
push (main) build / ci (ubuntu-latest), zizmor (ubuntu), aot-validate x2 smoketests (ubuntu-latest, macos-latest, windows-latest), canary (ubuntu), docs (ubuntu)
workflow_dispatch as pull_request (no macOS)
release (v*) zizmor (ubuntu) -> release / main is green (ubuntu) -> release / pack (ubuntu) -> publish (ubuntu)
release (models-*) zizmor only

Verify

  • actionlint (with shellcheck): clean.
  • zizmor --min-severity medium .github: no findings.
  • Walked through each event above by hand. macOS runs only on push. Every release job is downstream of main-green. release needs only zizmor, which runs on release, so no skipped needs stops anything on release. This PR triggers no CI beyond its own run.

🤖 Generated with Claude Code

The AOT smoke matrix adds macOS only on pushes to main. Tests no longer
run on release; the shared release workflow (v1.6.1) gates on main's
ci.yml run on the released commit, so the release job needs actions:
read and no longer needs build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Mpdreamz Mpdreamz added the ci Build and automation (patch) label Nov 12, 2026
@Mpdreamz
Mpdreamz merged commit ceae0c5 into main Nov 12, 2026
11 of 12 checks passed
@Mpdreamz
Mpdreamz deleted the ci/macos-main-gate branch November 12, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Build and automation (patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant