manual-approval/action.yaml
Edmund Dipple 4d12fc4297
Set minimum approvals (#1)
* Allow approval of a worflow with a set number of approvals

* update action interface

* Added test for when not enough approvals have been registered and minimumApprovals is set

* Warning raised by invalid minimumApprovals value should be an error

* update new input name to use hyphens

* Input env variable does in fact contain hyphens
2022-04-05 09:05:47 -04:00

15 lines
412 B
YAML

name: Manual Workflow Approval
description: Pause a workflow and get user approval to continue
inputs:
approvers:
description: Required approvers
required: true
secret:
description: Secret
required: true
minimum-approvals:
description: Minimum number of approvals to progress workflow
required: false
runs:
using: docker
image: docker://ghcr.io/trstringer/manual-approval:1.1.3