Find the pull request commit a CI job reviewed

When the review in CI differs from the one you see on the pull request, compare their full head SHAs. A deployment review can cover the same SHA and still be a different review.

Compare the job with the pull request#

On a GitHub pull_request event, Proofline reads the head SHA from the event. GitHub’s GITHUB_SHA on that event can point to a temporary merge commit. Check for a --commit argument or a COMMIT_SHA environment variable if the job appears to be looking up the merge commit. An explicit argument takes precedence.

Open the review link in the job and compare its repository and head with the pull request. If the head moved during authentication, run the workflow for the new head. If several reviews exist for one head, CI reads the newest pull-request review for that commit.

Search help

Tab to a result. Enter to open. Escape to close.