Skip to content

Commit 947080b

Browse files
Increase 'operations-per-run' for the stale action (prometheus-operator#1985)
The default value of 30 is too low for the repository and the action fails to process all issues and pull requests. This change also modifies when the job is executed to avoid running it at the same time than prometheus-operator/prometheus-operator and experience quota issues with the GitHub API. Signed-off-by: Simon Pasquier <spasquie@redhat.com> Signed-off-by: Simon Pasquier <spasquie@redhat.com>
1 parent 9977e3c commit 947080b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/stale.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'Close stale issues and PRs'
22
on:
33
schedule:
4-
- cron: '30 1 * * *'
4+
- cron: '30 3 * * *'
55

66
jobs:
77
stale:
@@ -18,3 +18,4 @@ jobs:
1818
stale-issue-label: 'stale'
1919
stale-pr-label: 'stale'
2020
exempt-draft-pr: true
21+
operations-per-run: 500

0 commit comments

Comments
 (0)