Adjust triage bot rate limit (#21471)

# Summary

This PR updates the triage bots schedule and raises the
operations-per-run limit.

# Details

Previous actions have been implemented using a defensive approach to
test the bots runtime and rate limits.

At the moment the single run at 6 in the morning utilized `0,0066`% of
our hourly GitHub API rate limit.
With those settings we will be done with the currently open 800 issues
in ~1/3 year.

This PR updates the schedule to hourly and raises the API limit to 100  
(3x of the default, out of 4500 API calls per hour, based of the stale
action execution log).

- Hourly will make the bot much more responsive (after the 800 issues
have been ~~purged~~ processed).
- A higher rate will allow the current state to be processed faster and
will provide better response to higher workloads in the future.
- The cache continues to handle any workload above 100
operations-per-run.
This commit is contained in:
FabianK3
2025-10-16 13:34:16 +02:00
committed by GitHub
parent 6ad7989318
commit 53ce1691fa
2 changed files with 11 additions and 2 deletions

View File

@@ -2,8 +2,8 @@ name: "Stale bot - Issue and PR triage"
on:
schedule:
# Run every day at 6 AM UTC - Daily run to utilize all operations-per-run without getting rate limited
- cron: "0 6 * * *"
# Run every hour
- cron: "0 * * * *"
workflow_dispatch: # Allow manual trigger
permissions:
@@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/stale@v9
with:
# --- Global settings ---
operations-per-run: 100
# --- Issue settings ---
days-before-issue-stale: 60
days-before-issue-close: 30

View File

@@ -0,0 +1,6 @@
author: FabianK3
delete-after: True
changes:
- rscadd: "Update the repositories triage bot to run every full hour with an adjusted rate limit."