Skip to content

ci: gate macOS build outside pull requests#118

Merged
saagpatel merged 1 commit into
masterfrom
codex/ci/actions-cost-hygiene
May 17, 2026
Merged

ci: gate macOS build outside pull requests#118
saagpatel merged 1 commit into
masterfrom
codex/ci/actions-cost-hygiene

Conversation

@saagpatel
Copy link
Copy Markdown
Owner

What

  • Skip the expensive macOS Tauri build on pull_request events.
  • Keep the macOS build available on default-branch pushes and manual workflow dispatch.

Why

  • Pull requests already run the security, frontend, Rust, UI, performance, and policy gates.
  • The macOS packaging build is slow enough to block small CI/security PRs while still being useful on the default branch.

How

  • Add workflow_dispatch to the core health workflow.
  • Gate the Build (macOS) job with github.event_name != 'pull_request'.

Testing

  • Workflow YAML parse passed locally.

Performance Impact

  • Reduces PR CI time and macOS runner usage; default-branch packaging coverage remains.

Risk / Notes

  • Risk is limited to PR-time packaging coverage. The build still runs on default-branch pushes and can be triggered manually.

@saagpatel saagpatel merged commit 6e618bb into master May 17, 2026
33 checks passed
@saagpatel saagpatel deleted the codex/ci/actions-cost-hygiene branch May 17, 2026 21:48
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