We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96fc6ce commit 3963bb8Copy full SHA for 3963bb8
1 file changed
.github/workflows/delete-comments.yml
@@ -13,7 +13,7 @@ jobs:
13
steps:
14
- name: Check for specific strings in comment
15
id: check_comment
16
- uses: actions/github-script@v6
+ uses: actions/github-script@v7
17
with:
18
script: |
19
const comment = context.payload.comment.body;
@@ -22,7 +22,7 @@ jobs:
22
23
- name: Delete comment if it contains any of the specific strings
24
if: steps.check_comment.outputs.result == 'true'
25
26
27
28
const commentId = context.payload.comment.id;
@@ -34,7 +34,7 @@ jobs:
34
35
- name: Block user if comment contains any of the specific strings
36
37
38
39
40
const userId = context.payload.comment.user.id;
0 commit comments