File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,30 @@ configuration:
316
316
then :
317
317
- addLabel :
318
318
label : Command-Validate
319
+ # Context-Elevated-User
320
+ - if :
321
+ - commentContains :
322
+ pattern : ' \[[Pp]olicy\]\s+[cC]ontext[\s-][eE]levated([\s-][uU]ser)?'
323
+ isRegex : True
324
+ then :
325
+ - addLabel :
326
+ label : Context-Elevated-User
327
+ # Context-User
328
+ - if :
329
+ - commentContains :
330
+ pattern : ' \[[Pp]olicy\]\s+[cC]ontext[\s-][uU]ser'
331
+ isRegex : True
332
+ then :
333
+ - addLabel :
334
+ label : Context-User
335
+ # Context-System
336
+ - if :
337
+ - commentContains :
338
+ pattern : ' \[[Pp]olicy\]\s+[cC]ontext[\s-][sS]ystem'
339
+ isRegex : True
340
+ then :
341
+ - addLabel :
342
+ label : Context-System
319
343
# Dependencies
320
344
- if :
321
345
- commentContains :
@@ -452,6 +476,14 @@ configuration:
452
476
then :
453
477
- addLabel :
454
478
label : Zipped-Binary
479
+ # Zipped-Binary
480
+ - if :
481
+ - commentContains :
482
+ pattern : ' \[[Pp]olicy\]\s+([wW]indows[\s-])?[sS]andbox'
483
+ isRegex : True
484
+ then :
485
+ - addLabel :
486
+ label : Windows-Sandbox
455
487
# Unblocked
456
488
- if :
457
489
- commentContains :
@@ -592,6 +624,12 @@ configuration:
592
624
label : Command-Upgrade
593
625
- removeLabel :
594
626
label : Command-Validate
627
+ - removeLabel :
628
+ label : Context-Elevated-User
629
+ - removeLabel :
630
+ label : Context-User
631
+ - removeLabel :
632
+ label : Context-System
595
633
- removeLabel :
596
634
label : Dependencies
597
635
- removeLabel :
@@ -624,6 +662,8 @@ configuration:
624
662
label : Public-Service-Announcement
625
663
- removeLabel :
626
664
label : Side-By-Side
665
+ - removeLabel :
666
+ label : Windows-Sandbox
627
667
- removeLabel :
628
668
label : Zipped-Binary
629
669
onFailure :
You can’t perform that action at this time.
0 commit comments