From 18a870d7caf19a585b1463fbf8d860aca086d1cc Mon Sep 17 00:00:00 2001 From: Marco de Abreu Date: Thu, 17 Apr 2025 03:44:11 +0200 Subject: [PATCH] GitHub Actions: Use PR commit SHA for reporting status (#104141) Use correct SHA for reporting status checks Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com> --- .github/workflows/pr-patch-check-event.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-patch-check-event.yml b/.github/workflows/pr-patch-check-event.yml index a081ca2a2e0..03dd31a7539 100644 --- a/.github/workflows/pr-patch-check-event.yml +++ b/.github/workflows/pr-patch-check-event.yml @@ -40,7 +40,8 @@ jobs: inputs: { src_repo: "${{ github.repository }}", src_ref: "${{ github.head_ref }}", - src_sha: "${{ github.sha }}", + src_merge_sha: "${{ github.sha }}", + src_pr_commit_sha: "${{ github.event.pull_request.head.sha }}", patch_repo: "${{ github.repository }}-security-patches", patch_ref: "${{ github.base_ref }}", triggering_github_handle: "${{ github.event.sender.login }}"