manual-approval icon indicating copy to clipboard operation
manual-approval copied to clipboard

Issue to approve/decline is not closed automatically

Open iuriipaniukov opened this issue 1 year ago • 4 comments

We are using the action with those props:

- uses: trstringer/manual-approval@v1
  with:
      secret: ...
      approvers: ...
      issue-title: ...

but after a job is declined I expect the issue should be closed automatically if there were no reaction. Unfortunately, some of them are not closed.

What might be the issue?

Thank you!

iuriipaniukov avatar Jul 12 '22 10:07 iuriipaniukov

This should have been resolved in https://github.com/trstringer/manual-approval/pull/4 but it sounds like that may not be the case. I'll look into this and see if I can repro it!

trstringer avatar Jul 12 '22 21:07 trstringer

If the pipeline/job is canceled the task is closed automatically, but not if time is off

iuriipaniukov avatar Jul 13 '22 08:07 iuriipaniukov

What do you mean "not if time is off"? You mean if the job reaches the timeout?

trstringer avatar Jul 13 '22 15:07 trstringer

yes

iuriipaniukov avatar Jul 13 '22 16:07 iuriipaniukov