Skip to content

Commit 30bd7c0

Browse files
authored
move descriptions up (#9979)
1 parent e9ca28a commit 30bd7c0

File tree

5 files changed

+33
-25
lines changed

5 files changed

+33
-25
lines changed

.github/policies/assign-prs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ resource: repository
55
configuration:
66
resourceManagementConfiguration:
77
eventResponderTasks:
8-
- if:
8+
- description: Assign team PRs to author
9+
if:
910
- payloadType: Pull_Request
1011
- isAction:
1112
action: Opened
@@ -15,4 +16,4 @@ configuration:
1516
then:
1617
- assignTo:
1718
author: True
18-
description: Assign team PRs to author
19+

.github/policies/author-action.yml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ resource: repository
55
configuration:
66
resourceManagementConfiguration:
77
eventResponderTasks:
8-
- if:
8+
- description: Needs-author-action notification
9+
if:
910
- payloadType: Issues
1011
- labelAdded:
1112
label: needs-author-action
1213
then:
1314
- addReply:
14-
reply: This issue has been marked `needs-author-action` and may be missing some important information.
15-
description: Needs-author-action notification
16-
- if:
15+
reply: This issue has been marked `needs-author-action` and might be missing some important information.
16+
17+
- description: PR reviews with "changes requested" applies the needs-author-action label
18+
if:
1719
- payloadType: Pull_Request_Review
1820
- not:
1921
activitySenderHasPermission:
@@ -25,8 +27,9 @@ configuration:
2527
then:
2628
- addLabel:
2729
label: needs-author-action
28-
description: PR reviews with "changes requested" applies the needs-author-action label
29-
- if:
30+
31+
- description: Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue that's not "untriaged"
32+
if:
3033
- payloadType: Issue_Comment
3134
- isAction:
3235
action: Created
@@ -43,8 +46,9 @@ configuration:
4346
label: needs-further-triage
4447
- removeLabel:
4548
label: needs-author-action
46-
description: Replace `needs-author-action` label with `needs-further-triage` label when the author comments on an issue that is not still untriaged
47-
- if:
49+
50+
- description: Remove `needs-author-action` label when the author comments on an `untriaged` issue
51+
if:
4852
- payloadType: Issue_Comment
4953
- isAction:
5054
action: Created
@@ -58,8 +62,9 @@ configuration:
5862
then:
5963
- removeLabel:
6064
label: needs-author-action
61-
description: Remove `needs-author-action` label when the author comments on an `untriaged` issue
62-
- if:
65+
66+
- description: Pushing changes to PR branch removes the needs-author-action label
67+
if:
6368
- payloadType: Pull_Request
6469
- isAction:
6570
action: Synchronize
@@ -68,8 +73,9 @@ configuration:
6873
then:
6974
- removeLabel:
7075
label: needs-author-action
71-
description: Pushing changes to PR branch removes the needs-author-action label
72-
- if:
76+
77+
- description: Author commenting in PR removes the needs-author-action label
78+
if:
7379
- payloadType: Issue_Comment
7480
- isActivitySender:
7581
issueAuthor: True
@@ -81,8 +87,9 @@ configuration:
8187
then:
8288
- removeLabel:
8389
label: needs-author-action
84-
description: Author commenting in PR removes the needs-author-action label
85-
- if:
90+
91+
- description: Author responding to a PR review comment removes the needs-author-action label
92+
if:
8693
- payloadType: Pull_Request_Review
8794
- isActivitySender:
8895
issueAuthor: True
@@ -94,4 +101,3 @@ configuration:
94101
then:
95102
- removeLabel:
96103
label: needs-author-action
97-
description: Author responding to a pull request review comment removes the needs-author-action label

.github/policies/community-contrib.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ resource: repository
55
configuration:
66
resourceManagementConfiguration:
77
eventResponderTasks:
8-
- if:
8+
- description: Label community PRs
9+
if:
910
- payloadType: Pull_Request
1011
- isAction:
1112
action: Opened
@@ -46,4 +47,3 @@ configuration:
4647
then:
4748
- addLabel:
4849
label: community-contribution
49-
description: Label community PRs

.github/policies/scheduled-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ resource: repository
55
configuration:
66
resourceManagementConfiguration:
77
scheduledSearches:
8-
- frequencies:
8+
- description: Push to live branch (publish)
9+
frequencies:
910
- daily:
1011
time: 08:0
1112
filters: []
@@ -15,5 +16,4 @@ configuration:
1516
base: live
1617
title: Merge main into live
1718
body: Please don't squash-merge this PR.
18-
description: Push to live branch (publish)
1919

.github/policies/untriaged-label.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ resource: repository
66
configuration:
77
resourceManagementConfiguration:
88
eventResponderTasks:
9-
- if:
9+
- description: Add untriaged label to new/reopened issues without a milestone
10+
if:
1011
- payloadType: Issues
1112
- isOpen
1213
- not:
@@ -22,8 +23,9 @@ configuration:
2223
then:
2324
- addLabel:
2425
label: untriaged
25-
description: Add untriaged label to new/reopened issues without a milestone
26-
- if:
26+
27+
- description: Remove untriaged label from issues when closed or added to a milestone
28+
if:
2729
- payloadType: Issues
2830
- or:
2931
- isAction:
@@ -34,4 +36,3 @@ configuration:
3436
then:
3537
- removeLabel:
3638
label: untriaged
37-
description: Remove untriaged label from issues when closed or added to a milestone

0 commit comments

Comments
 (0)