diff --git a/.github/workflows/check-makemigrations.yml b/.github/workflows/check-makemigrations.yml index 3eab290d2..f79537f60 100644 --- a/.github/workflows/check-makemigrations.yml +++ b/.github/workflows/check-makemigrations.yml @@ -27,3 +27,12 @@ jobs: - name: Install Python dependencies run: pip install -e .[dev,test] + + - name: Run ./bin/makemigrations.sh + run: | + if ./bin/makemigrations.sh | grep -q 'No changes detected'; + then + exit 0; + else + exit 1; + fi