Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboarding to GitOps.ResourceManagement #2535

Merged
merged 5 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
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
318 changes: 0 additions & 318 deletions .github/fabricbot.json

This file was deleted.

64 changes: 64 additions & 0 deletions .github/policies/resourceManagement.yml
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:
Loading