Skip to content

Commit

Permalink
Fix potential shell command injection
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Dec 21, 2024
1 parent d5a665c commit 1208926
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/on-issue-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ jobs:
permissions: write-all
steps:
- name: Delete comment
run: |
echo " ${{ github.event.comment.body }} "
- uses: actions-cool/issues-helper@v3
uses: actions-cool/issues-helper@v3
with:
actions: 'delete-comment'
token: ${{ secrets.GITHUB_TOKEN }}
comment-id: ${{ github.event.comment.id }}
comment-id: ${{ github.event.comment.id }}
env:
BODY: ${{ github.event.comment.body }}
run: |
echo " $BODY "

0 comments on commit 1208926

Please sign in to comment.