* Add constant for GITHUB_ACTOR env var * autoformat * Ignore workflow initiator * Fix incorrect if-else * refactor: camelcase userName * fix typo * Add allow-workflow-initiator-as-approver input * Add shouldIncludeWorkflowInitiator * Add usage & description for allow-workflow-initiator-as-approver * Clearer input description * refactor: rename inputs/vars to 'exclude' * update error msg with correct input name * docs: move note on optional/default to description
24 lines
730 B
YAML
24 lines
730 B
YAML
name: Manual Workflow Approval
|
|
description: Pause a workflow and get user approval to continue
|
|
branding:
|
|
icon: pause
|
|
color: yellow
|
|
inputs:
|
|
approvers:
|
|
description: Required approvers
|
|
required: true
|
|
secret:
|
|
description: Secret
|
|
required: true
|
|
minimum-approvals:
|
|
description: Minimum number of approvals to progress workflow
|
|
required: false
|
|
issue-title:
|
|
description: The custom subtitle for the issue
|
|
required: false
|
|
exclude-workflow-initiator-as-approver:
|
|
description: Whether or not to filter out the user who initiated the workflow as an approver if they are in the approvers list
|
|
default: false
|
|
runs:
|
|
using: docker
|
|
image: docker://ghcr.io/trstringer/manual-approval:1.7.0
|