stale icon indicating copy to clipboard operation
stale copied to clipboard

chore: sort issues by 'updated'

Open nakamasato opened this issue 9 months ago • 2 comments

Description:

Use sort: updated when retrieving repository issues

As the default value of sort is created, when having many old issues, the retrieved issues are almost same until they're gradually closed, which is not efficient. https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#list-repository-issues

By changing the sort to updated, every execution can checks the least recently updated issues that would match the criteria used in this entire repo.

days-before-stale: The issues or the pull requests will be marked as stale if the last update days-before-close: The issues or the pull requests will be closed if the last update

Related issue: Add link to the related issue.

https://github.com/actions/stale/issues/1231

Check list:

  • [ ] Mark if documentation changes are required.
  • [ ] Mark if tests were added or updated to cover the changes.

nakamasato avatar Mar 21 '25 23:03 nakamasato

+1, cf https://github.com/actions/stale/pull/1157

ericLemanissier avatar Mar 22 '25 06:03 ericLemanissier

oh! I didn't notice there already exists one. if yours can be merged, i'll close mine.

nakamasato avatar Mar 22 '25 10:03 nakamasato