We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8882949 commit 9ff5c2fCopy full SHA for 9ff5c2f
.github/workflows/terraform-checks.yml
@@ -55,4 +55,9 @@ jobs:
55
git add docs/code/terraform-local-setup.md
56
git add docs/infra/snowflake.md
57
# 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"
+ 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