This commit is contained in:
Ashwin Bharambe 2025-10-30 11:31:50 -07:00
parent afde63889b
commit 308d47ec6c

View file

@ -63,7 +63,7 @@ jobs:
id: precommit id: precommit
run: | run: |
set +e set +e
pre-commit run --show-diff-on-failure --color=always --all-files 2>&1 | tee precommit.log pre-commit run --show-diff-on-failure --color=always --all-files 2>&1 | tee /tmp/precommit.log
status=${PIPESTATUS[0]} status=${PIPESTATUS[0]}
echo "status=$status" >> $GITHUB_OUTPUT echo "status=$status" >> $GITHUB_OUTPUT
exit 0 exit 0
@ -77,7 +77,7 @@ jobs:
echo "::error::Pre-commit hooks failed. Please run 'pre-commit run --all-files' locally and commit the fixes." echo "::error::Pre-commit hooks failed. Please run 'pre-commit run --all-files' locally and commit the fixes."
echo "" echo ""
echo "Failed hooks output:" echo "Failed hooks output:"
cat precommit.log cat /tmp/precommit.log
exit 1 exit 1
- name: Debug - name: Debug