Improve error message with list of changed files
Co-authored-by: TwiN <15699766+TwiN@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/test-ui.yml
vendored
4
.github/workflows/test-ui.yml
vendored
@@ -21,6 +21,10 @@ jobs:
|
|||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
echo "Error: There are uncommitted changes after running 'make frontend-build'"
|
echo "Error: There are uncommitted changes after running 'make frontend-build'"
|
||||||
echo "Please run 'make frontend-build' locally and commit the changes"
|
echo "Please run 'make frontend-build' locally and commit the changes"
|
||||||
|
echo ""
|
||||||
|
echo "Changed files:"
|
||||||
|
git diff --name-only
|
||||||
|
echo ""
|
||||||
git status
|
git status
|
||||||
git diff
|
git diff
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user