From b8972fd93b3905dc3087b967fd1149c9971bffce Mon Sep 17 00:00:00 2001 From: ohakutsu Date: Thu, 10 Oct 2024 11:02:13 +0900 Subject: [PATCH] Fix custom commit message --- actions/publish/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/publish/action.yml b/actions/publish/action.yml index aac48dc..96d81be 100644 --- a/actions/publish/action.yml +++ b/actions/publish/action.yml @@ -35,7 +35,9 @@ runs: if ! git diff --staged --exit-code --quiet; then git config --global user.name 'github-actions[bot]' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' - git commit -m ${{ inputs.commit-message }} + git commit -m "${COMMIT_MESSAGE}" git push fi shell: bash + env: + COMMIT_MESSAGE: ${{ inputs.commit-message }}