Skip to content

Commit b9b7a3c

Browse files
Potential fix for code scanning alert no. 69: Code injection
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 60e61da commit b9b7a3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/reassign-pr-commits.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
steps:
1717
- name: Parse Username
1818
id: parse
19+
env:
20+
COMMENT_BODY: ${{ github.event.comment.body }}
1921
run: |
2022
# Get the text after /reassign. Default to PR creator if empty.
21-
COMMENT_BODY="${{ github.event.comment.body }}"
2223
REQUESTED_USER=$(echo "$COMMENT_BODY" | awk '{print $2}')
2324
2425
if [ -z "$REQUESTED_USER" ]; then

0 commit comments

Comments
 (0)