ci: skip macOS jobs on CI-only PRs#62
Merged
Merged
Conversation
Adds a detect-changes job that checks whether any files outside .github/ were modified. formula-audit and integration (both macOS runners at 10× cost) now depend on it and are skipped entirely when a PR only touches workflow files — not just early-exited, but never scheduled. Non-PR events (push to main/develop, tags, workflow_call) always run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
detect-changesjob (Linux, fast) that runs first on every PR.github/formula-auditandintegration(bothmacos-latest, 10× cost) nowneeds: detect-changesand are skipped entirely when only workflow files changedworkflow_call) always setsource_changed=trueso scheduled and release runs are unaffectedTest plan
.github/workflows/validate.yml— formula-audit and integration should be skippedsetup.sh,Brewfile.ci,dotfiles/, orscripts/should still run both jobs normally🤖 Generated with Claude Code