Skip to content

Commit

Permalink
Update filter
Browse files Browse the repository at this point in the history
  • Loading branch information
cbjeukendrup authored and Jojo-Schmitz committed Sep 2, 2024
1 parent 899b2d3 commit 8685935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/issues_delete_spam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
const comment = payload.comment;
const commentBody = comment.body;
const isSpam = commentBody.includes('password: changeme')
&& commentBody.includes('gcc');
|| commentBody.includes('mediafire.');
|| commentBody.includes('fix your trouble try');
if (isSpam) {
console.log('Deleting spam comment');
await github.rest.issues.deleteComment({
Expand Down

0 comments on commit 8685935

Please sign in to comment.