Description:
Strictly speaking, it's not a bug but the current behavior makes the stale feature less efficient.
As the default value of sort is created, when having many old issues, the retrieved issues are almost same until they're gradually closed especially when setting operations-per-run is set. https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#list-repository-issues
Action version:
Specify the action version
Platform:
Runner type:
Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
Sort by updated
Actual behavior:
A description of what is actually happening.
Sort by created
https://github.com/nakamasato/stale/blob/ee7ef89499a3de6e4fe1fc1acb994e67c64e0a2a/src/classes/issues-processor.ts#L565-L576
Description:
Strictly speaking, it's not a bug but the current behavior makes the stale feature less efficient.
As the default value of
sortiscreated, when having many old issues, the retrieved issues are almost same until they're gradually closed especially when settingoperations-per-runis set. https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#list-repository-issuesAction version:
Specify the action version
Platform:
Runner type:
Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
Sort by
updatedActual behavior:
A description of what is actually happening.
Sort by
createdhttps://github.com/nakamasato/stale/blob/ee7ef89499a3de6e4fe1fc1acb994e67c64e0a2a/src/classes/issues-processor.ts#L565-L576