diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89952d5..efb41a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ name: Action Test -on: [push, pull_request] +on: [ push, pull_request ] jobs: git-cliff-action: diff --git a/Dockerfile b/Dockerfile index f85218f..d6a3262 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM orhunp/git-cliff:1.3.0-rc.1@sha256:b6fc34bf033f41d1d8d351ba75f0f37eb26952451a9db22873a7cc2297814f8f +FROM orhunp/git-cliff:1.3.0@sha256:8a40b073ff6699af527c83bf881c82c560de7e2b44a92104d181986b6221091a LABEL maintainer="orhun " LABEL repository="https://github.com/orhun/git-cliff-action" diff --git a/entrypoint.sh b/entrypoint.sh index 458f259..d2d78e6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -26,12 +26,12 @@ cat "$OUTPUT" chown -R "$owner" . # Set the changelog content -echo "content<> $GITHUB_OUTPUT -cat "$OUTPUT" >> $GITHUB_OUTPUT -echo "EOF" >> $GITHUB_OUTPUT +echo "content<>$GITHUB_OUTPUT +cat "$OUTPUT" >>$GITHUB_OUTPUT +echo "EOF" >>$GITHUB_OUTPUT # Set output file -echo "changelog=$OUTPUT" >> $GITHUB_OUTPUT +echo "changelog=$OUTPUT" >>$GITHUB_OUTPUT # Pass exit code to the next step -echo "exit_code=$exit_code" >> $GITHUB_OUTPUT +echo "exit_code=$exit_code" >>$GITHUB_OUTPUT diff --git a/fixtures/cliff.toml b/fixtures/cliff.toml index 7a592f4..171fb67 100644 --- a/fixtures/cliff.toml +++ b/fixtures/cliff.toml @@ -1,4 +1,4 @@ -# configuration file for git-cliff (0.1.0) +# configuration file for git-cliff [changelog] header = "# Changelog\n" @@ -18,7 +18,7 @@ body = """ {% endfor %}\ {% endfor %}\n """ -trim=true +trim = true footer = "\n" [git]