trstringer / manual-approval

Pause your GitHub Actions workflow and request manual approval from set approvers before continuing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature-request] Add an option to not fail if approvals are not met / timeout

gaspo53 opened this issue · comments

Is it possible to use a flag that makes the process to return the approval status instead of failing? For example, the step will always be success (unless there's a problem with credentials or permissions) and following steps/jobs can check as follows:
if steps.approval.outputs.approved == 'true'

Thanks in advance

commented

I upvote for this feature request, as github actions don't support allow-failure in workflow step, nor they have intention to fix it, so when the manual-approval steps failed due to timeout or rejection, the specific workflow run would be marked with failure status and cause annoying notifications both in the ui and email.