This is an automated email from the ASF dual-hosted git repository.
davidarthur pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 2582d36291d KAFKA-18244: Fix empty SHA on "Pull Request Labeled"
workflow (#18190)
2582d36291d is described below
commit 2582d36291dd3f201e061bc6ad3c5b220449b8cb
Author: Nick Guo <[email protected]>
AuthorDate: Tue Dec 17 00:14:37 2024 +0800
KAFKA-18244: Fix empty SHA on "Pull Request Labeled" workflow (#18190)
Reviewers: David Arthur <[email protected]>
---
.github/workflows/pr-labeled.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/pr-labeled.yml b/.github/workflows/pr-labeled.yml
index 49a677ff7f8..87b39a659ec 100644
--- a/.github/workflows/pr-labeled.yml
+++ b/.github/workflows/pr-labeled.yml
@@ -65,4 +65,4 @@ jobs:
repository: ${{ github.repository }}
run_id: ${{ env.RUN_ID }}
pr_number: ${{ env.PR_NUMBER }}
- commit_sha: ${{ github.event.workflow_run.head_sha }}
+ commit_sha: ${{ github.event.pull_request.head.sha }}