Skip to content

Commit

Permalink
check if message contains !accept instead of being exactly !accept
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatACVR authored Jan 20, 2025
1 parent c0de969 commit e1ba4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issuecomment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Close Issue
uses: peter-evans/close-issue@v3
if: steps.verify_user.outputs.result == 'YES' && steps.add_entry.outputs.push_entry == 'YES' && github.event.comment.body == '!accept'
if: steps.verify_user.outputs.result == 'YES' && steps.add_entry.outputs.push_entry == 'YES' && contains(github.event.comment.body, '!accept')
with:
issue-number: ${{ github.event.issue.number }}
comment: Successfully added your click sound!!

0 comments on commit e1ba4a5

Please sign in to comment.