Skip to content

Commit 3ca7ec7

Browse files
committed
Added logging to diagnose CI build failures
1 parent f98e12a commit 3ca7ec7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/push.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@ jobs:
180180
commit_email: stakater@gmail.com
181181

182182
# Commit back changes
183+
- name: Log info about `.git` directory permissions
184+
run: |
185+
# Debug logging
186+
echo "Disk usage: "
187+
df -H
188+
189+
echo ".git files not owned by current user or current group:"
190+
find .git ! -user $(id -u) -o ! -group $(id -g) | xargs ls -lah
191+
183192
- name: Commit files
184193
run: |
185194
git config --local user.email "stakater@gmail.com"

0 commit comments

Comments
 (0)