Repository navigation
ci: avoid duplicate runs and unrelated native rebuilds - #187
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Changes
PR commits currently trigger both feature-branch push and PR validation. Even prose edits rebuild native apps and packages. This change runs validation on PRs and
master, cancels superseded PR runs, and keeps lightweight checks for Markdown-only PRs. Website changes retain package/APT validation; unknown files and workflow changes use full checks.Remove standalone
cargo checkcalls covered by Clippy, duplicate formatting/documentation checks, and release builds already exercised by package/install jobs. Keep both macOS lifecycle architectures, native tests, packaging, release qualification and all five CodeQL languages. CodeQL skips Markdown-only events while weekly/manual scans remain complete. Existing required check names are preserved, and classifier failures fail required checks.Validation
git diff --checkpass.f758c52. Superseded-run cancellation and absence of feature-push duplicates are verified. Prose/website scope selection was checked locally; full master/release paths remain enabled.On PR #185, CI used about 9m14s of runner execution, with another duplicate push run; the CI workflow took about 14m44s including queues. The Swift CodeQL job alone took 12m32s. Removing duplicate events reduces runner work; prose PRs avoid these native/security builds. Source PRs retain full security scanning, so no fixed end-to-end time is promised.
Closes #186.