Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ configuration:
- payloadType: Pull_Request
- isAction:
action: Opened
- isPullRequest
- and:
- not:
activitySenderHasPermission:
Expand Down Expand Up @@ -140,6 +141,10 @@ configuration:
isActivitySender:
user: github-actions
issueAuthor: False
- not:
isActivitySender:
user: dependabot[bot]
issueAuthor: False
then:
- addLabel:
label: community-contribution
Expand All @@ -157,6 +162,7 @@ configuration:
- not:
activitySenderHasPermission:
permission: Read
- isPullRequest
- isAction:
action: Submitted
- isReviewState:
Expand All @@ -176,6 +182,7 @@ configuration:
- not:
hasLabel:
label: untriaged
- isIssue
- isOpen
then:
- addLabel:
Expand All @@ -193,13 +200,15 @@ configuration:
label: needs-author-action
- hasLabel:
label: untriaged
- isIssue
- isOpen
then:
- removeLabel:
label: needs-author-action
description: Remove `needs-author-action` label when the author comments on an `untriaged` issue
- if:
- payloadType: Pull_Request
- isPullRequest
- isAction:
action: Synchronize
- hasLabel:
Expand All @@ -216,6 +225,7 @@ configuration:
action: Created
- hasLabel:
label: needs-author-action
- isPullRequest
- isOpen
then:
- removeLabel:
Expand All @@ -229,6 +239,7 @@ configuration:
label: needs-author-action
- isAction:
action: Submitted
- isPullRequest
- isOpen
then:
- removeLabel:
Expand All @@ -252,12 +263,14 @@ configuration:
- payloadType: Issue_Comment
- hasLabel:
label: no-recent-activity
- isIssue
then:
- removeLabel:
label: no-recent-activity
description: Remove `no-recent-activity` label when an issue is commented on
- if:
- payloadType: Pull_Request
- isPullRequest
- isOpen
- hasLabel:
label: no-recent-activity
Expand All @@ -272,6 +285,7 @@ configuration:
- payloadType: Issue_Comment
- hasLabel:
label: no-recent-activity
- isPullRequest
- isOpen
then:
- removeLabel:
Expand All @@ -281,6 +295,7 @@ configuration:
- payloadType: Pull_Request_Review
- hasLabel:
label: no-recent-activity
- isPullRequest
- isOpen
then:
- removeLabel:
Expand Down