Skip to content

Commit 211a4f8

Browse files
mhdawsonruyadorno
authored andcommittedAug 29, 2023
build: update action to close stale PRs
My original plan of adding a lable to limit those initially process as outlined in #48051 does not work I think because adding a lable updates the last update time. - Removing the need for the lable - Remove the cron scheduling so that it only runs when I run it manually - Fix the display name for the action as I missed updating that after cut and paste from existing action The plan will be to find stop dates that should only affect a reasonable number of PRs at a time and then run in batches using that instead. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #48196 Reviewed-By: Mestery <mestery@protonmail.com>
1 parent 3da57d1 commit 211a4f8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎.github/workflows/close-stale-pull-requests.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
name: Close stale feature requests
1+
name: Close stale pull requests
22
on:
33
workflow_dispatch:
44
inputs:
55
endDate:
66
description: stop processing PRs after this date
77
required: false
88
type: string
9-
schedule:
10-
# Run every day at 1:00 AM UTC.
11-
- cron: 0 1 * * *
129

1310
# yamllint disable rule:empty-lines
1411
env:
@@ -51,7 +48,6 @@ jobs:
5148
end-date: ${{ env.END_DATE }}
5249
days-before-issue-stale: -1
5350
days-before-issue-close: -1
54-
only-labels: test-stale-pr
5551
days-before-stale: 150
5652
days-before-close: 30
5753
stale-issue-label: stale

0 commit comments

Comments
 (0)
Please sign in to comment.