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
Copy file name to clipboardExpand all lines: README.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,13 +159,19 @@ In this case, the GitHub action will only close the issue if:
159
159
* it was written by a user in the `users` list in the `config` (or the owner of the repo)
160
160
* the time delay since the last comment is enough
161
161
162
-
### Remove label
162
+
### Remove label on comment
163
163
164
-
You can also pass a config `remove_label` per keyword. By default it's `true`.
164
+
You can also pass a config `remove_label_on_comment` per keyword. By default it's `true`.
165
165
166
166
When someone adds a comment _after_ the label was added, then this GitHub action won't close the issue.
167
167
168
-
On top of not closing the issue, by default, it will remove the label. You can disable removing the label by setting `remove_label` to `false`.
168
+
On top of not closing the issue, by default, it will remove the label. You can disable removing the label by setting `remove_label_on_comment` to `false`.
169
+
170
+
### Remove label on close
171
+
172
+
After this GitHub action closes an issue it can also automatically remove the label from the issue when you pass the config `remove_label_on_close` set to `true`.
173
+
174
+
By default it is false, and doesn't remove the label from the issue.
169
175
170
176
### Defaults
171
177
@@ -179,7 +185,8 @@ By default, any config has:
179
185
Assuming the original issue was solved, it will be automatically closed now.
180
186
```
181
187
182
-
* `remove_label`: True. If someone adds a comment after you added the label, it will remove the label from the issue.
188
+
* `remove_label_on_comment`: True. If someone adds a comment after you added the label, it will remove the label from the issue.
189
+
* `remove_label_on_close`: False. After this GitHub action closes the issue it would also remove the label from the issue.
183
190
184
191
### Config in the action
185
192
@@ -284,7 +291,8 @@ jobs:
284
291
],
285
292
"delay": "P3DT12H30M5S",
286
293
"message": "It seems the issue was answered, closing this now.",
287
-
"remove_label": false
294
+
"remove_label_on_comment": false,
295
+
"remove_label_on_close": false
288
296
},
289
297
"validated": {
290
298
"users": [
@@ -293,7 +301,8 @@ jobs:
293
301
],
294
302
"delay": 300,
295
303
"message": "The issue could not be validated after 5 minutes. Closing now.",
296
-
"remove_label": true
304
+
"remove_label_on_comment": true,
305
+
"remove_label_on_close": false
297
306
},
298
307
"waiting": {
299
308
"users": [
@@ -302,7 +311,8 @@ jobs:
302
311
],
303
312
"delay": 691200,
304
313
"message": "Closing after 8 days of waiting for the additional info requested.",
0 commit comments