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