Skip to content

Commit 9ff5c2f

Browse files
committed
dev
1 parent 8882949 commit 9ff5c2f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/terraform-checks.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,9 @@ jobs:
5555
git add docs/code/terraform-local-setup.md
5656
git add docs/infra/snowflake.md
5757
# Run git commit if changed files are detected
58-
git status --porcelain | grep -q '[AM ][AM ]\s\+\S\+' || git commit -m "Automated terraform-docs commit"
58+
if git status --porcelain | grep -q '[AM ][AM ]\s\+\S\+'; then
59+
set -x
60+
git commit -m "Automated terraform-docs commit"
61+
git push
62+
set +x
63+
fi

0 commit comments

Comments
 (0)