[CI] Reach commits outside of upstream repo to calculate coverage - #1018
Merged
Conversation
CoverageTotal: 57.7% (±0.0% vs No package coverage changes in the files this PR touches. |
exekias
approved these changes
Jul 21, 2026
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.
Description
In #996 (fork
lghuy05/pgstream): the workflow_run fired and downloaded the artifact, then loggedexpected exactly one open PR for <sha>, found 0; skipping coverage comment.From now on we resolve the PR by head repo + branch instead of by commit association:
pulls.listwithhead: "${wr.head_repository.owner.login}:${wr.head_branch}",which works for both fork and same-repo PRs.
pr.head.sha === head_shaguard so a superseded push doesn't getcommented, and the "exactly one match or skip" behavior.
headfilter alreadyscopes the query).
Type of Change
Please select the relevant option(s):