You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: the input `mode` can be used to either `upsert` (by default) or `recreate` the comment (= delete and create)
94
94
95
95
### Delete a comment
96
96
97
97
98
-
Deleting a comment with a specific `comment_tag` is possible with the `mode: delete`. If a comment with the `comment_tag` exists, it will be deleted when ran.
98
+
Deleting a comment with a specific `comment-tag` is possible with the `mode: delete`. If a comment with the `comment-tag` exists, it will be deleted when ran.
99
99
100
100
```yml
101
101
...
102
102
- name: Delete a comment
103
103
uses: thollander/actions-comment-pull-request@v3
104
104
with:
105
-
comment_tag: to_delete
105
+
comment-tag: to_delete
106
106
mode: delete
107
107
```
108
108
109
109
### Delete a comment on job completion
110
110
111
-
Deleting an existing comment on job completion is also possible thanks to the `comment_tag` input combined with `mode: delete-on-completion`.
111
+
Deleting an existing comment on job completion is also possible thanks to the `comment-tag` input combined with `mode: delete-on-completion`.
112
112
113
113
This will delete the comment at the end of the job.
114
114
@@ -119,7 +119,7 @@ This will delete the comment at the end of the job.
0 commit comments