We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f11eb2 commit 7435c66Copy full SHA for 7435c66
action.yml
@@ -10,6 +10,9 @@ outputs:
10
version:
11
description: 'New version'
12
inputs:
13
+ working_directory:
14
+ description: 'Change to this directory before running'
15
+ required: false
16
dry_run:
17
description: 'Run without creating commit, output to stdout'
18
required: false
entrypoint.sh
@@ -34,6 +34,10 @@ echo "${PIP_CMD[@]}"
34
"${PIP_CMD[@]}"
35
echo "Commitizen version: $(cz version)"
36
37
+if [[ $INPUT_WORKING_DIRECTORY ]]; then
38
+ cd $INPUT_WORKING_DIRECTORY
39
+fi
40
+
41
PREV_REV="$(cz version --project)"
42
echo "PREVIOUS_REVISION=${PREV_REV}" >>"$GITHUB_ENV"
43
0 commit comments