[llvm] [workflows] Mention the correct user who makes a /cherry-pick comment (PR #82680)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 18:41:33 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 }} \
----------------
lukel97 wrote:

Just skimming through the issue webhook event, is this `body` meant to be bere? It looks to be a string in https://docs.github.com/en/webhooks/webhook-events-and-payloads#issues

https://github.com/llvm/llvm-project/pull/82680


More information about the llvm-commits mailing list