Increase 'operations-per-run' for the stale action (#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>
This commit is contained in:
Simon Pasquier
2023-01-12 10:50:35 +01:00
committed by GitHub
parent 9977e3c84c
commit 947080b8d0

View File

@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs' name: 'Close stale issues and PRs'
on: on:
schedule: schedule:
- cron: '30 1 * * *' - cron: '30 3 * * *'
jobs: jobs:
stale: stale:
@@ -18,3 +18,4 @@ jobs:
stale-issue-label: 'stale' stale-issue-label: 'stale'
stale-pr-label: 'stale' stale-pr-label: 'stale'
exempt-draft-pr: true exempt-draft-pr: true
operations-per-run: 500