Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Shorten Needs-Author-Feedback Time (microsoft#129546)
Browse files Browse the repository at this point in the history
* Shorten Needs-Author-Feedback Time

* Fix discrepancies
  • Loading branch information
Trenly authored Dec 7, 2023
1 parent 807724a commit 22975a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/policies/labelAdded.noRecentActivity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ configuration:
Hello @${issueAuthor},
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**.
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any recent activity. It will be closed if no further activity occurs **within 3 days of this comment**.
Template: msftbot/noRecentActivity
Expand All @@ -40,7 +40,7 @@ configuration:
Hello @${issueAuthor},
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **7 days**. It will be closed if no further activity occurs **within 7 days of this comment**.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any recent activity. It will be closed if no further activity occurs **within 3 days of this comment**.
Template: msftbot/noRecentActivity
Expand Down
8 changes: 4 additions & 4 deletions .github/policies/scheduledSearch.closeNoRecentActivity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ configuration:
* Pull request has the label No-Recent-Activity
* Pull request has the label Needs-Author-Feedback
* Pull request does not have the label Blocking-Issue
* Has not had activity in the last 7 days
* Has not had activity in the last 3 days
Then -
* Close the PR
Expand All @@ -31,7 +31,7 @@ configuration:
- isNotLabeledWith:
label: Blocking-Issue
- noActivitySince:
days: 7
days: 3
actions:
- closeIssue
- description: >-
Expand All @@ -40,7 +40,7 @@ configuration:
* Issue has the label No-Recent-Activity
* Issue has the label Needs-Author-Feedback
* Issue does not have the label Blocking-Issue
* Has not had activity in the last 7 days
* Has not had activity in the last 3 days
Then -
* Close the Issue
Expand All @@ -57,7 +57,7 @@ configuration:
- isNotLabeledWith:
label: Blocking-Issue
- noActivitySince:
days: 7
days: 3
actions:
- closeIssue
onFailure:
Expand Down
10 changes: 5 additions & 5 deletions .github/policies/scheduledSearch.markNoRecentActivity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ configuration:
* Pull request does not have the label No-Recent-Activity
* Pull request does not have the label Blocking-Issue
* Pull request has the label Needs-Author-Feedback
* Has not had activity in the last 7 days
* Has not had activity in the last 5 days
Then -
* Add No-Recent-Activity label
Expand All @@ -32,7 +32,7 @@ configuration:
- hasLabel:
label: Needs-Author-Feedback
- noActivitySince:
days: 7
days: 5
actions:
- addLabel:
label: No-Recent-Activity
Expand All @@ -42,14 +42,14 @@ configuration:
* Issue does not have the label No-Recent-Activity
* Issue does not have the label Blocking-Issue
* Issue has the label Needs-Author-Feedback
* Has not had activity in the last 7 days
* Has not had activity in the last 5 days
Then -
* Add No-Recent-Activity label
- Triggers labelAdded.noRecentActivity.yml
frequencies:
- hourly:
hour: 3
hour: 6
filters:
- isIssue
- isOpen
Expand All @@ -60,7 +60,7 @@ configuration:
- hasLabel:
label: Needs-Author-Feedback
- noActivitySince:
days: 7
days: 5
actions:
- addLabel:
label: No-Recent-Activity
Expand Down

0 comments on commit 22975a5

Please sign in to comment.