From 9d2ab02343aec66e19e8785c1f9e48dcf4fd2534 Mon Sep 17 00:00:00 2001 From: Dominik Oswald <6849456+d-oit@users.noreply.github.com> Date: Mon, 18 Aug 2025 09:08:00 +0200 Subject: [PATCH] Potential fix for code scanning alert no. 4: Code injection Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/issue-automation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-automation.yml b/.github/workflows/issue-automation.yml index 13a6764..e5a9ab6 100644 --- a/.github/workflows/issue-automation.yml +++ b/.github/workflows/issue-automation.yml @@ -87,7 +87,6 @@ jobs: - name: Handle sub-issue creation requests if: contains(github.event.comment.body, '/create-sub-issues') run: | - comment_body="${{ github.event.comment.body }}" issue_number="${{ github.event.issue.number }}" # Extract sub-issue information from comment @@ -107,4 +106,5 @@ jobs: echo "❌ Invalid sub-issue creation format" fi env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + comment_body: ${{ github.event.comment.body }} \ No newline at end of file