Skip to content

Preserve the test matrix when a PR title or description changes - #415

Merged
shcheklein merged 1 commit into
mainfrom
ci/preserve-pr-test-results
Nov 25, 2026
Merged

shcheklein merged 1 commit into
mainfrom
ci/preserve-pr-test-results

Conversation

@shcheklein

@shcheklein shcheklein commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

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.

@shcheklein
shcheklein merged commit 3e48688 into main Nov 25, 2026
28 checks passed
@shcheklein
shcheklein deleted the ci/preserve-pr-test-results branch November 25, 2026 02:05
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