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 eaaa4ce commit 6df2345Copy full SHA for 6df2345
.github/workflows/update-project-structure.yml
@@ -21,6 +21,11 @@ jobs:
21
run: |
22
git config user.name "github-actions[bot]"
23
git config user.email "github-actions[bot]@users.noreply.github.com"
24
- git add project_structure.txt
25
- git commit -m "chore: update project structure"
26
- git push
+
+ if [[ -n $(git status --porcelain) ]]; then
+ git add project_structure.txt
27
+ git commit -m "chore: update project structure"
28
+ git push
29
+ else
30
+ echo "No changes to commit."
31
+ fi
0 commit comments