Skip to content

Commit

Permalink
Remove WIP label when issue is closed (#5330)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie authored Aug 5, 2024
1 parent ff546f3 commit b841602
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,14 @@ configuration:
then:
- disableAutoMerge
description: Automatically merge pull requests

- if:
- payloadType: Pull_Request
then:
- inPrLabel:
label: 'work in progress :construction:'
description: In-PR label

- if:
- payloadType: Issue_Comment
then:
Expand Down Expand Up @@ -172,6 +174,7 @@ configuration:
- removeLabel:
label: 'no-recent-activity :zzz:'
description: Remove no recent activity label when an issue is commented on

- if:
- payloadType: Issues
- not:
Expand All @@ -183,13 +186,15 @@ configuration:
- removeLabel:
label: 'no-recent-activity :zzz:'
description: Remove no recent activity label from issue

- if:
- payloadType: Issues
- isAction:
action: Closed
then:
- removeMilestone
description: Remove closed issues from milestones

- if:
- payloadType: Pull_Request
- isAction:
Expand All @@ -202,6 +207,7 @@ configuration:
- removeLabel:
label: 'waiting-on-team :wave:'
description: Remove intermediate labels after PR is closed or merged

- if:
- payloadType: Issues
- or:
Expand All @@ -210,8 +216,11 @@ configuration:
then:
- removeLabel:
label: untriaged
- removeLabel:
label: 'work in progress :construction:'
- removeLabel:
label: 'waiting-author-feedback :mailbox_with_no_mail:'
description: Remove intermediate labels from closed issue

onFailure:
onSuccess:

0 comments on commit b841602

Please sign in to comment.