Skip to content

Commit b8972fd

Browse files
committed
Fix custom commit message
1 parent c8ea974 commit b8972fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

actions/publish/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ runs:
3535
if ! git diff --staged --exit-code --quiet; then
3636
git config --global user.name 'github-actions[bot]'
3737
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
38-
git commit -m ${{ inputs.commit-message }}
38+
git commit -m "${COMMIT_MESSAGE}"
3939
git push
4040
fi
4141
shell: bash
42+
env:
43+
COMMIT_MESSAGE: ${{ inputs.commit-message }}

0 commit comments

Comments
 (0)