diff --git a/action.yml b/action.yml index 16c3985..1521c3a 100644 --- a/action.yml +++ b/action.yml @@ -122,3 +122,6 @@ inputs: manual_version: description: "Manually specify the version to bump to" required: false + config: + description: "Manually specify the config file to use" + required: false diff --git a/entrypoint.sh b/entrypoint.sh index 5abe71c..77e2d4e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -51,6 +51,11 @@ echo "previous_version_minor=${PREV_REV_MINOR}" >>"$GITHUB_OUTPUT" CZ_CMD=('cz') + +if [[ $INPUT_CONFIG ]]; then + CZ_CMD+=('--config' "$INPUT_CONFIG") +fi + if [[ $INPUT_DEBUG == 'true' ]]; then CZ_CMD+=('--debug') fi