Repository navigation
ci: cancel superseded PR runs and skip heavy jobs on doc-only PRs - #189
Merged
Merged
Conversation
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.
Follow-up to the Mac mini CI speedup review. Generated with the Codex CLI and reviewed.
Concurrency:
code_quality,coverage,perf,securityandtests_offlinenow cancel superseded runs on pull requests only (cancel-in-progress: ${{ github.event_name == 'pull_request' }}). Pushes, schedules and manual runs are never cancelled.docs.ymlalready had this.Path filters (PRs only): a small
changesjob (dorny/paths-filter, pinned SHA, on the minis) decides whether heavy jobs run. Skipped jobs report as successful, so required checks never block.coverage,perf,tests_offline: skip PRs that touch only Markdown/MDX, LICENSE, CODEOWNERS or issue/PR templates.code_quality: same, except Markdown still runs becausebun run checkincludescheck:docs.security(OSV): runs on PRs that changebun.lock,packages/hyperliquid/.dev/ts7/bun.lock, anypackage.json(overrides),osv-scan.shor the workflow. The weekly scheduled scan andworkflow_dispatchalways run.The OSV scan itself already runs on the minis (#182), so no change there. Every job stays on
[self-hosted, macOS, ARM64]with the fork-PR guard.