diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows/issue-release-workflow.yml index d24dc468688f6..71d470f9ae09b 100644 --- a/.github/workflows/issue-release-workflow.yml +++ b/.github/workflows/issue-release-workflow.yml @@ -81,6 +81,7 @@ jobs: - name: Backport Commits env: COMMENT_BODY: ${{ needs.backport-commits-validate-input.outputs.comment-body }} + REQUESTED_BY: ${{ (github.event.action == 'opened' && github.event.issue.user.login) || github.event.comment.user.login }} run: | printf "%s" "$COMMENT_BODY" | ./llvm/utils/git/github-automation.py \ @@ -89,5 +90,5 @@ jobs: release-workflow \ --branch-repo-token ${{ secrets.RELEASE_WORKFLOW_PUSH_SECRET }} \ --issue-number ${{ github.event.issue.number }} \ - --requested-by ${{ (github.event.action == 'opened' && github.event.issue.user.login) || github.event.comment.user.login }} \ + --requested-by "$REQUESTED_BY" \ auto