Repository navigation
Preserve the test matrix when a PR title or description changes - #415
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.
Editing #411's description produced a skipped Tests run on the same commit as the full matrix. The PR list then showed 7/7, hiding the 15 completed OS/Python jobs.
The Tests workflow now uses GitHub’s default PR events (open, reopen and new commits). A separate workflow calls that same matrix when an edit changes the base branch. Its single check is already present on ordinary PRs and skips on title and description edits, so those edits cannot supersede the normal Tests run.
A retarget still checks the new merge commit. The required live Drive status, fork/Dependabot restrictions and 15 matrix combinations are preserved.
Validated with actionlint, eight event cases and the existing live-test/status checks.
For a live check of the reported problem, I opened this PR and then edited this description after GitHub had created all 15 jobs. The original Tests run identifies the matrix that should remain visible after the edit.