- Changed import statements across multiple files to use the .js extension for ES module compatibility.
- Refactored test files to utilize jest's unstable_mockModule for mocking core actions.
- Removed unnecessary spy instances in tests, replacing them with direct mocked function calls.
- Updated TypeScript configuration to target ES2022 and use NodeNext module resolution.
- Removed the tsconfig.spec.json file and adjusted the main tsconfig.json to exclude test files.
* rateLimitResult log
* code update for rate limit
* Refactor getRateLimit method to remove mock responses and improve error handling
* retry logic removed
* Simplify warning message for rate limiting not enabled
* Remove redundant comments in rate limiting error handling
* updated the block to use catch (error: unknown) instead of any and added simple type narrowing for status and message.
* sort-issues-by introduced
* action.yml updated
* pushing the build code
* Update action.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update README.md for the new parameter (sort-issues-by)
* minor text format changes in README.md
* final draft of sort-issues-by
* Update src/interfaces/issues-processor-options.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/classes/issues-processor.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactored the code
* test
* test
* final changes
* update in README.md
* Documentation update
* updated sort-issues-by to sort-by
* minor changes
* dist fixes
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add new 'include-only-assigned' option
If set, only issues containing assignees will be processed
* Test new flag
* Update code comment
* Update src/classes/issues-processor.ts
Co-authored-by: Francesco Renzi <rentziass@github.com>
* Update index.js with typo fix
Co-authored-by: Francesco Renzi <rentziass@github.com>
The existing logic for `remove-stale-when-updated` only considers presence of
comments, ignoring the value of `issueHasUpdate`.
This commits fixes it so it follows the documented behaviour for that setting.
Fixes#715