-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Onboarding to GitOps.ResourceManagement (#2535)
* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement * Deleting fabricbot.json --------- Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com> Co-authored-by: velimir-jankovic <[email protected]>
- Loading branch information
1 parent
8d5cf4c
commit 9ad95ab
Showing
2 changed files
with
64 additions
and
318 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,64 @@ | ||
id: | ||
name: GitOps.PullRequestIssueManagement | ||
description: GitOps.PullRequestIssueManagement primitive | ||
owner: | ||
resource: repository | ||
disabled: false | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 4 | ||
filters: | ||
- isOpen | ||
- isNotLabeledWith: | ||
label: bug | ||
- isNotLabeledWith: | ||
label: security | ||
- isNotLabeledWith: | ||
label: stale | ||
- isNotLabeledWith: | ||
label: do not close | ||
- noActivitySince: | ||
days: 60 | ||
- isIssue | ||
- isNotAssigned | ||
actions: | ||
- addLabel: | ||
label: stale | ||
- addReply: | ||
reply: This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment. | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 6 | ||
filters: | ||
- isOpen | ||
- isIssue | ||
- hasLabel: | ||
label: stale | ||
- isNotLabeledWith: | ||
label: bug | ||
- isNotLabeledWith: | ||
label: do not close | ||
- isNotAssigned | ||
- noActivitySince: | ||
days: 15 | ||
actions: | ||
- addReply: | ||
reply: This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion. | ||
- closeIssue | ||
eventResponderTasks: | ||
- if: | ||
- payloadType: Issue_Comment | ||
- hasLabel: | ||
label: stale | ||
then: | ||
- removeLabel: | ||
label: stale | ||
description: | ||
onFailure: | ||
onSuccess: |