From 10c6e8976fc99633792f522673b3e2fe287c0347 Mon Sep 17 00:00:00 2001
From: alperaltuntas <alperaltuntas@gmail.com>
Date: Sat, 8 Feb 2025 12:38:48 -0700
Subject: [PATCH] check-cleanliness CI test

---
 .github/workflows/general-ci-tests.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/general-ci-tests.yml b/.github/workflows/general-ci-tests.yml
index 86683e1..7635c86 100644
--- a/.github/workflows/general-ci-tests.yml
+++ b/.github/workflows/general-ci-tests.yml
@@ -56,6 +56,13 @@ jobs:
           cd $GITHUB_WORKSPACE/CESM/components/mom/
           git checkout ${{ github.sha }}
 
+      - name: check-cleanliness
+        run: |
+          echo
+          echo "Checking if git fleximod matches expected externals"
+          echo
+          git diff --exit-code
+
       # Build the standalone mom using the ubuntu script. 
       - name: Build Standalone MOM
         run: |