File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Check for specific strings in comment
1515 id : check_comment
16- uses : actions/github-script@v6
16+ uses : actions/github-script@v7
1717 with :
1818 script : |
1919 const comment = context.payload.comment.body;
2222
2323 - name : Delete comment if it contains any of the specific strings
2424 if : steps.check_comment.outputs.result == 'true'
25- uses : actions/github-script@v6
25+ uses : actions/github-script@v7
2626 with :
2727 script : |
2828 const commentId = context.payload.comment.id;
3434
3535 - name : Block user if comment contains any of the specific strings
3636 if : steps.check_comment.outputs.result == 'true'
37- uses : actions/github-script@v6
37+ uses : actions/github-script@v7
3838 with :
3939 script : |
4040 const userId = context.payload.comment.user.id;
You can’t perform that action at this time.
0 commit comments