Skip to content

Conversation

nakamasato
Copy link

@nakamasato nakamasato commented Mar 21, 2025

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.

#1231

Check list:

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

@nakamasato nakamasato marked this pull request as ready for review March 21, 2025 23:26
@nakamasato nakamasato requested a review from a team as a code owner March 21, 2025 23:26
@ericLemanissier
Copy link

+1, cf #1157

@nakamasato
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants