Skip to content

Commit

Permalink
add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Oct 11, 2024
1 parent 4ad4e56 commit 788f002
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/coordinator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ jobs:
working-directory: 'coordinator'
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Error: Detected uncommitted changes after running goimports and go mod tidy"
echo "The following files have been modified:"
git status --porcelain
echo "Diff of changes:"
git diff
exit 1
else
echo "No changes detected. All files are properly formatted and modules are tidy."
fi
# docker-build:
# if: github.event.pull_request.draft == false
Expand Down

0 comments on commit 788f002

Please sign in to comment.