File tree Expand file tree Collapse file tree 1 file changed +69
-1
lines changed Expand file tree Collapse file tree 1 file changed +69
-1
lines changed Original file line number Diff line number Diff line change 406
406
"subCapability" : " IssueCommentResponder" ,
407
407
"version" : " 1.0" ,
408
408
"config" : {
409
- "taskName" : " Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue" ,
409
+ "taskName" : " Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue that is not still untriaged " ,
410
410
"actions" : [
411
411
{
412
412
"name" : " addLabel" ,
448
448
"label" : " needs-author-action"
449
449
}
450
450
},
451
+ {
452
+ "operator" : " not" ,
453
+ "operands" : [
454
+ {
455
+ "name" : " hasLabel" ,
456
+ "parameters" : {
457
+ "label" : " untriaged"
458
+ }
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ "name" : " isOpen" ,
464
+ "parameters" : {}
465
+ }
466
+ ]
467
+ }
468
+ }
469
+ },
470
+ {
471
+ "taskSource" : " fabricbot-config" ,
472
+ "taskType" : " trigger" ,
473
+ "capabilityId" : " IssueResponder" ,
474
+ "subCapability" : " IssueCommentResponder" ,
475
+ "version" : " 1.0" ,
476
+ "config" : {
477
+ "taskName" : " Remove `needs-author-action` label when the author comments on an `untriaged` issue" ,
478
+ "actions" : [
479
+ {
480
+ "name" : " removeLabel" ,
481
+ "parameters" : {
482
+ "label" : " needs-author-action"
483
+ }
484
+ }
485
+ ],
486
+ "eventType" : " issue" ,
487
+ "eventNames" : [
488
+ " issue_comment"
489
+ ],
490
+ "conditions" : {
491
+ "operator" : " and" ,
492
+ "operands" : [
493
+ {
494
+ "name" : " isAction" ,
495
+ "parameters" : {
496
+ "action" : " created"
497
+ }
498
+ },
499
+ {
500
+ "name" : " isActivitySender" ,
501
+ "parameters" : {
502
+ "user" : {
503
+ "type" : " author"
504
+ }
505
+ }
506
+ },
507
+ {
508
+ "name" : " hasLabel" ,
509
+ "parameters" : {
510
+ "label" : " needs-author-action"
511
+ }
512
+ },
513
+ {
514
+ "name" : " hasLabel" ,
515
+ "parameters" : {
516
+ "label" : " untriaged"
517
+ }
518
+ },
451
519
{
452
520
"name" : " isOpen" ,
453
521
"parameters" : {}
You can’t perform that action at this time.
0 commit comments