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 920920    "subCapability" : " IssueCommentResponder"  ,
921921    "version" : " 1.0"  ,
922922    "config" : {
923-       "taskName" : " Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue"  ,
923+       "taskName" : " Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue that is not still untriaged "  ,
924924      "actions" : [
925925        {
926926          "name" : " addLabel"  ,
962962              "label" : " needs-author-action" 
963963            }
964964          },
965+           {
966+             "operator" : " not"  ,
967+             "operands" : [
968+               {
969+                 "name" : " hasLabel"  ,
970+                 "parameters" : {
971+                   "label" : " untriaged" 
972+                 }
973+               }
974+             ]
975+           },
976+           {
977+             "name" : " isOpen"  ,
978+             "parameters" : {}
979+           }
980+         ]
981+       }
982+     }
983+   },
984+   {
985+     "taskSource" : " fabricbot-config"  ,
986+     "taskType" : " trigger"  ,
987+     "capabilityId" : " IssueResponder"  ,
988+     "subCapability" : " IssueCommentResponder"  ,
989+     "version" : " 1.0"  ,
990+     "config" : {
991+       "taskName" : " Remove `needs-author-action` label when the author comments on an `untriaged` issue"  ,
992+       "actions" : [
993+         {
994+           "name" : " removeLabel"  ,
995+           "parameters" : {
996+             "label" : " needs-author-action" 
997+           }
998+         }
999+       ],
1000+       "eventType" : " issue"  ,
1001+       "eventNames" : [
1002+         " issue_comment" 
1003+       ],
1004+       "conditions" : {
1005+         "operator" : " and"  ,
1006+         "operands" : [
1007+           {
1008+             "name" : " isAction"  ,
1009+             "parameters" : {
1010+               "action" : " created" 
1011+             }
1012+           },
1013+           {
1014+             "name" : " isActivitySender"  ,
1015+             "parameters" : {
1016+               "user" : {
1017+                 "type" : " author" 
1018+               }
1019+             }
1020+           },
1021+           {
1022+             "name" : " hasLabel"  ,
1023+             "parameters" : {
1024+               "label" : " needs-author-action" 
1025+             }
1026+           },
1027+           {
1028+             "name" : " hasLabel"  ,
1029+             "parameters" : {
1030+               "label" : " untriaged" 
1031+             }
1032+           },
9651033          {
9661034            "name" : " isOpen"  ,
9671035            "parameters" : {}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments