From 79d085ac4a680f82ffdc4b9d3fde28420a61dce7 Mon Sep 17 00:00:00 2001 From: orhun Date: Sat, 19 Jun 2021 22:55:24 +0300 Subject: [PATCH] chore(entrypoint): update argument passing --- action.yml | 1 + entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e383ae7..a2faaf7 100644 --- a/action.yml +++ b/action.yml @@ -17,6 +17,7 @@ runs: image: "Dockerfile" args: - --config=${{ inputs.config }} + - ${{ inputs.args }} branding: icon: "triangle" color: "orange" diff --git a/entrypoint.sh b/entrypoint.sh index 6efaf86..3314b10 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,7 +7,7 @@ OUTPUT=${OUTPUT:="git-cliff/CHANGELOG.md"} mkdir -p "$(dirname $OUTPUT)" # Execute git-cliff -git-cliff "$@" +git-cliff $@ exit_code=$? # Output to console