[llvm] [workflows] Mention the correct user who makes a /cherry-pick comment (PR #82680)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 12:08:05 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
We were mentioning the creator of the issue with the comment rather than the creator of the comment.
---
Full diff: https://github.com/llvm/llvm-project/pull/82680.diff
1 Files Affected:
- (modified) .github/workflows/issue-release-workflow.yml (+1-1)
``````````diff
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml
index 448c1c56f897f5..5ec2e88447e87b 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.body.user.login) || github.event.comment.user.login }} \
auto
``````````
</details>
https://github.com/llvm/llvm-project/pull/82680
More information about the llvm-commits
mailing list