Skip to content

Commit 8cdcd9f

Browse files
authored
Merge pull request #34 from d-oit/alert-autofix-4
Potential fix for code scanning alert no. 4: Code injection
2 parents c0e5668 + 9d2ab02 commit 8cdcd9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/issue-automation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ jobs:
8787
- name: Handle sub-issue creation requests
8888
if: contains(github.event.comment.body, '/create-sub-issues')
8989
run: |
90-
comment_body="${{ github.event.comment.body }}"
9190
issue_number="${{ github.event.issue.number }}"
9291
9392
# Extract sub-issue information from comment
@@ -107,4 +106,5 @@ jobs:
107106
echo "❌ Invalid sub-issue creation format"
108107
fi
109108
env:
110-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110+
comment_body: ${{ github.event.comment.body }}

0 commit comments

Comments
 (0)