[llvm] [workflows] Mention the correct user who makes a /cherry-pick comment (PR #82680)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 09:30:46 PST 2024
================
@@ -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 }} \
----------------
tstellar wrote:
This is how you emulate a ternary conditional operator in Github Actions.
https://github.com/llvm/llvm-project/pull/82680
More information about the llvm-commits
mailing list