Skip to content

Commit

Permalink
Add scheduled.yml, change spacing because...yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Apr 18, 2024
1 parent 3bd2c7f commit 6fe6a57
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/policies/scheduled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Scheduled Issue updates
description:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description: "Close issues that where author has not provided reproduction code or repo"
- frequencies:
- hourly:
hour: 3
filters:
- isOpen
- is:issue
- hasLabel:
label: 'needs: repro code or repository'
- noActivitySince:
days: 1
actions:
- addReply:
reply: "This issue has been automatically closed as no reproduction code has been provided within **4 days**."
- closeIssue
4 changes: 2 additions & 2 deletions .github/policies/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
scheduledSearches:
- description: "Close issues that where author has not provided reproduction code or repo"
- frequencies:
- hourly:
Expand All @@ -21,7 +21,7 @@ configuration:
- addReply:
reply: "This issue has been automatically closed as no reproduction code has been provided within **4 days**."
- closeIssue
eventResponderTasks:
eventResponderTasks:
- description: Add labels to unassigned issue
triggerOnOwnActions: false
if:
Expand Down

0 comments on commit 6fe6a57

Please sign in to comment.