From 8eec08356b599d897ca73e35adb1b01390d396ad Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 1 Jul 2024 20:59:56 -0400 Subject: [PATCH] update error message --- .github/workflows/check-migration-file-edited.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-migration-file-edited.yml b/.github/workflows/check-migration-file-edited.yml index b12f8578d..e94a573c6 100644 --- a/.github/workflows/check-migration-file-edited.yml +++ b/.github/workflows/check-migration-file-edited.yml @@ -19,7 +19,7 @@ jobs: run: | git diff --name-status HEAD^ HEAD backend/src/db/migrations | grep '^M\|^R\|^C' || true | cut -f2 | xargs -r -n1 basename > edited_files.txt if [ -s edited_files.txt ]; then - echo "Migration files has been edited" + echo "Exiting migration files cannot be modified." cat edited_files.txt exit 1 fi