* Adding the capability to create the approval issue in another repository * reverting testing changes * reverting test changes contd. * Updating readme and removing a debug line * Introduce a 'fail-on-denial' boolean (#147) * Introduce a 'fail-on-approval' boolean * Use test docker image * oops * change default and fix logic * Update action.yaml * Fix linting error * Adding the capability to create the approval issue in another repository * reverting testing changes * reverting test changes contd. * moving targetRepo inputs from env vars to action-args * Update constants.go * Update constants.go to resolve nuances created by inconsistent tab length settings --------- Co-authored-by: Liz MacLean <18120837+lizziemac@users.noreply.github.com>
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
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
|
|
timeout-minutes:
|
|
description: Force timeout of your workflow pause
|
|
required: false
|
|
issue-title:
|
|
description: The custom subtitle for the issue
|
|
required: false
|
|
issue-body:
|
|
description: The custom body 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
|
|
required: false
|
|
default: 'false'
|
|
additional-approved-words:
|
|
description: Comma separated list of words that can be used to approve beyond the defaults.
|
|
required: false
|
|
default: ''
|
|
additional-denied-words:
|
|
description: Comma separated list of words that can be used to deny beyond the defaults.
|
|
required: false
|
|
default: ''
|
|
target-repository-owner:
|
|
description: Owner of the repository in which the issue will be created.
|
|
default: ''
|
|
target-repository:
|
|
description: Name of the repository in which the issue will be created.
|
|
default: ''
|
|
fail-on-denial:
|
|
description: Whether or not to fail the workflow if the approval is denied
|
|
required: false
|
|
default: 'true'
|
|
runs:
|
|
using: docker
|
|
image: docker://ghcr.io/trstringer/manual-approval:1.9.1
|