Skip to content

Commit 3cc7fee

Browse files
authored
Merge pull request #189 from increments/fix-custom-commit-message
Fix custom commit message
2 parents c8ea974 + b8972fd commit 3cc7fee

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)