Skip to content

Commit

Permalink
馃懛 Move cleanup workflow to earlier in the night
Browse files Browse the repository at this point in the history
Let's see if this maybe already helps with the rate limits.

Switching everything to REST would work fine for the closing of
incomplete issues, but for the locking of old issues and PRs it
proves to be a challenge given that on the REST API we can't limit
things to only "last update older than 1y and not yet closed" easily
and thus would have to always paginate through all results, which
sounds like a bad idea.
  • Loading branch information
foosel committed Apr 16, 2024
1 parent cd0f476 commit 0c5d63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Cleanup issues & PRs"

on:
schedule:
- cron: "0 0 * * *"
- cron: "42 23 * * *"
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 0c5d63c

Please sign in to comment.