lizhimins opened a new pull request, #489:
URL: https://github.com/apache/rocketmq-dashboard/pull/489

   ## Motivation
   
   The `Close Stale Issues and PRs` workflow currently relies on the default 
`operations-per-run: 30` of `actions/stale`. Because `days-before-close: 0` 
makes each stale item consume ~2 API operations (add `stale` label + close), a 
single daily run can only close ~15 issues/PRs and then exits with:
   
   ```
   No more operations left! Exiting...
   If you think that not enough issues were processed you could try to increase
   the operations-per-run option which is currently set to 30
   ```
   
   As a result the existing backlog of stale issues/PRs is cleared very slowly 
and looks like the workflow "isn't working".
   
   ## Change
   
   Set `operations-per-run: 200` explicitly so each daily run can process up to 
~100 stale items and drain the backlog quickly.
   
   ## Test plan
   
   - [x] YAML change is minimal and only adds one option
   - [ ] Observe the next scheduled run closes significantly more stale 
issues/PRs without hitting the operations cap


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to