Skip to content

Commit 18881e6

Browse files
committed
move items around
1 parent b0ee482 commit 18881e6

File tree

5 files changed

+69
-107
lines changed

5 files changed

+69
-107
lines changed

.github/policies/close-issues.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,16 @@ configuration:
4242
label: code-of-conduct
4343
then:
4444
- closeIssue
45+
46+
- description: Close learn template issues with empty descriptions. (spam)
47+
if:
48+
- payloadType: Issues
49+
- bodyContains:
50+
pattern: '### Description[\n\r]+\[Enter feedback here\][\n\r]+###'
51+
isRegex: true
52+
then:
53+
- addLabel: 'needs-more-info'
54+
- removeLabel: ':watch: Not Triaged'
55+
- closeIssue
56+
57+
triggerOnOwnActions: false

.github/policies/issue-empty.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/policies/label-issues.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,62 @@ configuration:
2424
label: okr-quality
2525

2626
eventResponderTasks:
27+
- description: >-
28+
Add "not triaged" label when:
29+
* Issue is opened
30+
* Issue is reopened
31+
* 'needs-more-info' label removed
32+
if:
33+
- payloadType: Issues
34+
- or:
35+
36+
- or:
37+
- isAction:
38+
action: Opened
39+
- isAction:
40+
action: Reopened
41+
42+
- labelRemoved:
43+
label: 'needs-more-info'
44+
then:
45+
- addLabel: ':watch: Not Triaged'
46+
triggerOnOwnActions: false
47+
48+
- description: >-
49+
Remove "not triaged" label when:
50+
* Issue author closes the issue
51+
* reQUEST label is added
52+
if:
53+
- payloadType: Issues
54+
- hasLabel:
55+
label: ':watch: Not Triaged'
56+
- or:
57+
- and:
58+
- isAction:
59+
action: Closed
60+
- isActivitySender:
61+
issueAuthor: true
62+
63+
- labelAdded:
64+
label: ':world_map: reQUEST'
65+
then:
66+
- removeLabel: ':watch: Not Triaged'
67+
triggerOnOwnActions: false
68+
69+
- description: >-
70+
When the label "mapQUEST" is added to an issue
71+
* Remove label "mapQUEST"
72+
if:
73+
- or:
74+
- payloadType: Issues
75+
- payloadType: Pull_Request
76+
77+
- labelAdded:
78+
label: ':world_map: mapQUEST'
79+
then:
80+
- removeLabel: ':world_map: mapQUEST'
81+
triggerOnOwnActions: false
82+
2783
- description: Label dependabot issues
2884
if:
2985
- payloadType: Issues

.github/policies/label-map-quest.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/policies/label-not-triaged.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)