Skip to content

Commit dd4c0b4

Browse files
authored
Set CZ_CMD if INPUT_CONFIG is provided
Add conditional to set CZ_CMD based on INPUT_CONFIG.
1 parent 4653151 commit dd4c0b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ else
108108
ACTOR=$GITHUB_ACTOR
109109
fi
110110

111+
if [[ $INPUT_CONFIG ]]; then
112+
CZ_CMD+=("--config ${CONFIG}")
113+
fi
114+
111115
REV="$(cz version --project)"
112116
if [[ $REV == "$PREV_REV" ]]; then
113117
INPUT_PUSH='false'

0 commit comments

Comments
 (0)