-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
145 changed files
with
1,583 additions
and
2,241 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
id: | ||
name: GitOps.PullRequestIssueManagement | ||
description: GitOps.PullRequestIssueManagement primitive | ||
owner: | ||
resource: repository | ||
disabled: false | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: | ||
- description: Mark Stale Issues | ||
frequencies: | ||
- daily: | ||
time: 17:0 | ||
filters: | ||
- isOpen | ||
- hasLabel: | ||
label: needs-more-info | ||
- isNotPartOfMilestone: | ||
milestone: Backlog | ||
- isNotPartOfMilestone: | ||
milestone: Discussion | ||
- isNotLabeledWith: | ||
label: needs-triage | ||
- isIssue | ||
- isNotLabeledWith: | ||
label: stale | ||
- noActivitySince: | ||
days: 30 | ||
- isNotLabeledWith: | ||
label: bot-exclude | ||
actions: | ||
- addLabel: | ||
label: stale | ||
- addReply: | ||
reply: This issue is marked as stale because feedback has been requested for 30 days with no response. Please respond within 14 days or this issue will be closed due to inactivity. | ||
- description: Close Stale Issues | ||
frequencies: | ||
- daily: | ||
time: 12:0 | ||
filters: | ||
- isOpen | ||
- hasLabel: | ||
label: stale | ||
- isNotLabeledWith: | ||
label: bot-exclude | ||
- noActivitySince: | ||
days: 14 | ||
- isNotPartOfMilestone: | ||
milestone: Backlog | ||
- isNotPartOfMilestone: | ||
milestone: Discussion | ||
- isNotLabeledWith: | ||
label: needs-triage | ||
actions: | ||
- closeIssue | ||
- addReply: | ||
reply: This issue was closed due to inactivity. If you can still reproduce this bug, please comment with the requested information, detailed steps to reproduce the problem, or any other notes that might help in the investigation. | ||
- addLabel: | ||
label: closed-by-bot | ||
eventResponderTasks: | ||
- if: | ||
- payloadType: Issue_Comment | ||
- isOpen | ||
- hasLabel: | ||
label: stale | ||
- not: | ||
hasLabel: | ||
label: bot-exclude | ||
then: | ||
- removeLabel: | ||
label: stale | ||
- addLabel: | ||
label: needs-triage | ||
description: Unstale Open Issues that get comments | ||
- if: | ||
- payloadType: Issue_Comment | ||
- not: isOpen | ||
- hasLabel: | ||
label: stale | ||
- not: | ||
hasLabel: | ||
label: bot-exclude | ||
then: | ||
- addLabel: | ||
label: needs-triage | ||
description: Apply needs-triage to closed stale issues that get comments | ||
- if: | ||
- payloadType: Issues | ||
- labelAdded: | ||
label: needs-more-info | ||
- hasLabel: | ||
label: needs-triage | ||
then: | ||
- removeLabel: | ||
label: needs-triage | ||
description: remove needs-triage when needs-more-info is applied | ||
- if: | ||
- payloadType: Issue_Comment | ||
- isActivitySender: | ||
issueAuthor: True | ||
- hasLabel: | ||
label: needs-more-info | ||
then: | ||
- addLabel: | ||
label: needs-triage | ||
- addLabel: | ||
label: author-responded | ||
- removeLabel: | ||
label: needs-more-info | ||
description: author responds to `needs-more-info` gets `author-responded` | ||
- if: | ||
- payloadType: Pull_Request | ||
- or: | ||
- isAction: | ||
action: Opened | ||
- isAction: | ||
action: Reopened | ||
- labelAdded: | ||
label: Servicing-consider | ||
- or: | ||
- targetsBranch: | ||
branch: vs17.0 | ||
- targetsBranch: | ||
branch: vs17.2 | ||
- targetsBranch: | ||
branch: vs17.4 | ||
- targetsBranch: | ||
branch: vs17.5 | ||
- targetsBranch: | ||
branch: vs17.6 | ||
- targetsBranch: | ||
branch: vs17.7 | ||
- targetsBranch: | ||
branch: vs17.8 | ||
- targetsBranch: | ||
branch: vs17.9 | ||
- targetsBranch: | ||
branch: vs17.10 | ||
- targetsBranch: | ||
branch: vs16.11 | ||
- targetsBranch: | ||
branch: vs15.9 | ||
then: | ||
- addReply: | ||
reply: Hello! I noticed that you're targeting one of our servicing branches. Please consider updating the version. | ||
description: Comment on vs* branches | ||
onFailure: | ||
onSuccess: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.