Skip to content

Commit 5544715

Browse files
authored
ci(stale): increase stale workflow processing budget (#2979)
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 9f88f8f commit 5544715

1 file changed

Lines changed: 24 additions & 5 deletions

File tree

.github/workflows/stale.yml

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
stale:
12+
stale-issues:
1313
runs-on: ubuntu-latest
1414
permissions:
1515
issues: write
16-
pull-requests: write
1716
steps:
1817
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
1918
with:
2019
stale-issue-label: state:stale
21-
stale-pr-label: state:stale
2220

2321
days-before-issue-stale: 14
2422
days-before-issue-close: -1 # -1 puts this into dry-run mode. Update to 7 to enable closing.
25-
days-before-pr-stale: 14
26-
days-before-pr-close: -1 # -1 puts this into dry-run mode. Update to 7 to enable closing.
23+
days-before-pr-stale: -1
24+
days-before-pr-close: -1
25+
26+
operations-per-run: 300
27+
sort-by: updated
2728

2829
exempt-issue-labels: state:triage-needed,state:validated,state:accepted,agent:plan-requested,agent:plan-ready,agent:implementation-requested,agent:in-progress,agent:pr-opened,roadmap
2930
close-issue-reason: not_planned
@@ -35,6 +36,24 @@ jobs:
3536
close-issue-message: >
3637
Closing this issue after 7 days with no activity since it was marked stale.
3738
Reopen it if the work is still relevant.
39+
stale-pull-requests:
40+
runs-on: ubuntu-latest
41+
permissions:
42+
issues: write
43+
pull-requests: write
44+
steps:
45+
- uses: actions/stale@4391f3da665fdf50b6810c1a66712fb9ba21aa93 # v11.0.0
46+
with:
47+
stale-pr-label: state:stale
48+
49+
days-before-issue-stale: -1
50+
days-before-issue-close: -1
51+
days-before-pr-stale: 14
52+
days-before-pr-close: -1 # -1 puts this into dry-run mode. Update to 7 to enable closing.
53+
54+
operations-per-run: 300
55+
sort-by: updated
56+
3857
stale-pr-message: >
3958
This pull request has had no activity for 14 days and is now marked stale.
4059
It may be closed in 7 days if there is no further activity.

0 commit comments

Comments
 (0)