stale icon indicating copy to clipboard operation
stale copied to clipboard

`close-issue-reason` not working. everything closes as `completed`

Open snehara99 opened this issue 1 year ago • 2 comments

Description: The close-issue-reason (options: not_planned or completed) isn't working. It seems that close-issue-reason isn't being recognized. The default is supposed to be not_planned but whether we specify not_planned or leave it out, all the issues are closing as completed.

Action version: actions/[email protected]

Platform: Windows

Runner type: Hosted

Repro steps:
workflow file We have also tried leaving out the setting, as not_planned should be default, but it still closes as completed.

Expected behavior: I expect the issues to close as not_planned.

Actual behavior: Issues are closing as completed.

snehara99 avatar Nov 03 '23 15:11 snehara99

Thank you for creating the issue! We will investigate and come back with the details.

nikolai-laevskii avatar Nov 03 '23 17:11 nikolai-laevskii

I think you just need to update the version of the action you are using. The option was only added at v5.1 and your logs show close-issue-reason as an unexpected input.

rcomer avatar Jan 04 '24 21:01 rcomer