Introducing sort-by option (#1254)

* 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>
This commit is contained in:
suyashgaonkar
2025-07-11 09:00:19 +05:30
committed by GitHub
parent f78de9780e
commit 128b2c81d0
10 changed files with 67 additions and 0 deletions

View File

@@ -136,6 +136,10 @@ inputs:
description: 'The order to get issues or pull requests. Defaults to false, which is descending.'
default: 'false'
required: false
sort-by:
description: 'What to sort results by. Valid options are `created`, `updated`, and `comments`. Defaults to `created`.'
default: 'created'
required: false
delete-branch:
description: 'Delete the git branch after closing a stale pull request.'
default: 'false'