Skip to content

Commit aaedf1c

Browse files
committed
Support for draft mode
1 parent f2425a5 commit aaedf1c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ inputs:
3434
description: "Enable dry run mode."
3535
required: false
3636
default: "false"
37+
draft:
38+
description: "Enable draft mode."
39+
required: false
40+
default: "false"
3741
runs:
3842
using: 'composite'
3943
steps:
@@ -90,6 +94,9 @@ runs:
9094
if [ "${{ inputs.dry-run }}" == "true" ]; then
9195
PR_CMD="${PR_CMD} --dry-run"
9296
fi
97+
if [ "${{ inputs.draft }}" == "true" ]; then
98+
PR_CMD="${PR_CMD} --draft"
99+
fi
93100
eval "${PR_CMD}"
94101
95102
echo "🚀 Switching back to root directory"

0 commit comments

Comments
 (0)