Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

Commit 9c85a05

Browse files
authored
Merge pull request #12 from williamwmarx/add-safe-conditional-for-git-commit
2 parents b91fb73 + 6fdba34 commit 9c85a05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Git commit and push files
2121
run: |
22-
if [ -n $(git status --porcelain) ]; then
22+
if [ -n "$(git status --porcelain)" ]; then
2323
git config --global user.name "GitHub Actions Bot"
2424
git config --global user.email "<>"
2525
git add -A

0 commit comments

Comments
 (0)