From 39bea7de61dd70ce4705a976f904f33d5e1e0f49 Mon Sep 17 00:00:00 2001 From: Bibo-Joshi <22366557+Bibo-Joshi@users.noreply.github.com> Date: Fri, 31 Oct 2025 15:53:07 +0100 Subject: [PATCH] Add Missing Input Reading for `only-issue-types` (#1298) Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> --- dist/index.js | 3 ++- src/main.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 1a9c156b..d6d5ab60 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2610,7 +2610,8 @@ function _getAndValidateArgs() { ignorePrUpdates: _toOptionalBoolean('ignore-pr-updates'), exemptDraftPr: core.getInput('exempt-draft-pr') === 'true', closeIssueReason: core.getInput('close-issue-reason'), - includeOnlyAssigned: core.getInput('include-only-assigned') === 'true' + includeOnlyAssigned: core.getInput('include-only-assigned') === 'true', + onlyIssueTypes: core.getInput('only-issue-types') }; for (const numberInput of ['days-before-stale']) { if (isNaN(parseFloat(core.getInput(numberInput)))) { diff --git a/src/main.ts b/src/main.ts index e1eae661..92a33ab5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -124,7 +124,8 @@ function _getAndValidateArgs(): IIssuesProcessorOptions { ignorePrUpdates: _toOptionalBoolean('ignore-pr-updates'), exemptDraftPr: core.getInput('exempt-draft-pr') === 'true', closeIssueReason: core.getInput('close-issue-reason'), - includeOnlyAssigned: core.getInput('include-only-assigned') === 'true' + includeOnlyAssigned: core.getInput('include-only-assigned') === 'true', + onlyIssueTypes: core.getInput('only-issue-types') }; for (const numberInput of ['days-before-stale']) {