From 1087bf2fb236cdc5e525df0d4c19c456df13ebe4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Dec 2025 00:50:55 +0000 Subject: [PATCH] Add git status check after frontend-build in test-ui workflow Co-authored-by: TwiN <15699766+TwiN@users.noreply.github.com> --- .github/workflows/test-ui.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-ui.yml b/.github/workflows/test-ui.yml index 8cb1fd23..50bc881e 100644 --- a/.github/workflows/test-ui.yml +++ b/.github/workflows/test-ui.yml @@ -15,4 +15,13 @@ jobs: steps: - uses: actions/checkout@v5 - run: make frontend-install-dependencies - - run: make frontend-build \ No newline at end of file + - run: make frontend-build + - name: Check for uncommitted changes + run: | + if [ -n "$(git status --porcelain)" ]; then + echo "Error: There are uncommitted changes after running 'make frontend-build'" + echo "Please run 'make frontend-build' locally and commit the changes" + git status + git diff + exit 1 + fi \ No newline at end of file