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 13
13
steps :
14
14
- name : Check for specific strings in comment
15
15
id : check_comment
16
- uses : actions/github-script@v6
16
+ uses : actions/github-script@v7
17
17
with :
18
18
script : |
19
19
const comment = context.payload.comment.body;
22
22
23
23
- name : Delete comment if it contains any of the specific strings
24
24
if : steps.check_comment.outputs.result == 'true'
25
- uses : actions/github-script@v6
25
+ uses : actions/github-script@v7
26
26
with :
27
27
script : |
28
28
const commentId = context.payload.comment.id;
34
34
35
35
- name : Block user if comment contains any of the specific strings
36
36
if : steps.check_comment.outputs.result == 'true'
37
- uses : actions/github-script@v6
37
+ uses : actions/github-script@v7
38
38
with :
39
39
script : |
40
40
const userId = context.payload.comment.user.id;
You can’t perform that action at this time.
0 commit comments