Skip to content

Commit d8f88c7

Browse files
Try tweaking pr stale policy (#43846)
1 parent 9280f5a commit d8f88c7

2 files changed

Lines changed: 5 additions & 32 deletions

File tree

.github/policies/pr.stale.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
id: pr.stale
2-
name: GitOps.PullRequestIssueManagement
2+
name: Stale PR
33
description: Mark and close stale pull requests
44
owner:
55
resource: repository
@@ -10,9 +10,8 @@ configuration:
1010
scheduledSearches:
1111
- description: Mark PRs with no activity for 14 days as stale
1212
frequencies:
13-
- weekday:
14-
day: Monday
15-
time: 13:0
13+
- daily:
14+
time: 13:00
1615
filters:
1716
- isPullRequest
1817
- isOpen
@@ -31,9 +30,8 @@ configuration:
3130
3231
- description: Close PRs that have been stale for 14 more days (28 days total)
3332
frequencies:
34-
- weekday:
35-
day: Monday
36-
time: 13:0
33+
- daily:
34+
time: 13:00
3735
filters:
3836
- isPullRequest
3937
- isOpen

.github/policies/resourceManagement.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2485,31 +2485,6 @@ configuration:
24852485
- addReply:
24862486
reply: Thank you for your contribution ${issueAuthor}! We will review the pull request and get back to you soon.
24872487
description:
2488-
- if:
2489-
- payloadType: Pull_Request
2490-
- hasLabel:
2491-
label: no-recent-activity
2492-
- or:
2493-
- isAction:
2494-
action: Synchronize
2495-
- isAction:
2496-
action: Null
2497-
- isAction:
2498-
action: Unlabeled
2499-
- isAction:
2500-
action: Edited
2501-
- isAction:
2502-
action: Null
2503-
- isAction:
2504-
action: Reopened
2505-
- isAction:
2506-
action: Labeled
2507-
- isAction:
2508-
action: Edited
2509-
then:
2510-
- removeLabel:
2511-
label: no-recent-activity
2512-
description:
25132488
- if:
25142489
- payloadType: Pull_Request
25152490
# If a PR changes no files, "includesModifiedFiles()" incorrectly returns "true" instead of "false",

0 commit comments

Comments
 (0)