Skip to content

workflows/issue-release-workflow: Remove template expansion of login names#199772

Open
tstellar wants to merge 1 commit into
llvm:mainfrom
tstellar:irw-template
Open

workflows/issue-release-workflow: Remove template expansion of login names#199772
tstellar wants to merge 1 commit into
llvm:mainfrom
tstellar:irw-template

Conversation

@tstellar
Copy link
Copy Markdown
Contributor

@llvmorg-github-actions
Copy link
Copy Markdown

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

https://github.com/llvm/llvm-project/security/code-scanning/1609 https://github.com/llvm/llvm-project/security/code-scanning/1610


Full diff: https://github.com/llvm/llvm-project/pull/199772.diff

1 Files Affected:

  • (modified) .github/workflows/issue-release-workflow.yml (+2-1)
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

Copy link
Copy Markdown
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Title was missing a w at the beginning (I updated it).

@boomanaiden154 boomanaiden154 changed the title orkflows/issue-release-workflow: Remove template expansion of login names workflows/issue-release-workflow: Remove template expansion of login names May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants