aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2024-03-09 14:20:15 -0800
committerGitHub <noreply@github.com>2024-03-09 14:20:15 -0800
commit0be1c3b92b64373df4057f52f9676c36567253ef (patch)
treee84c8dddc4255ca14257a7af9a423267eaf35916
parent6f7ebcb71f4e89309c613da9600991850f15f74f (diff)
downloadllvm-0be1c3b92b64373df4057f52f9676c36567253ef.zip
llvm-0be1c3b92b64373df4057f52f9676c36567253ef.tar.gz
llvm-0be1c3b92b64373df4057f52f9676c36567253ef.tar.bz2
[workflows] Mention the correct user who makes a /cherry-pick comment (#82680)
We were mentioning the creator of the issue with the comment rather than the creator of the comment. Fixes #82580
-rw-r--r--.github/workflows/issue-release-workflow.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml
index 448c1c5..eb88ec6 100644
--- a/.github/workflows/issue-release-workflow.yml
+++ b/.github/workflows/issue-release-workflow.yml
@@ -65,5 +65,5 @@ jobs:
release-workflow \
--branch-repo-token ${{ secrets.RELEASE_WORKFLOW_PUSH_SECRET }} \
--issue-number ${{ github.event.issue.number }} \
- --requested-by ${{ github.event.issue.user.login }} \
+ --requested-by ${{ (github.event.action == 'opened' && github.event.issue.user.login) || github.event.comment.user.login }} \
auto