From d5a1d2cd19565b53c9bc8685af92a4b2bb155420 Mon Sep 17 00:00:00 2001 From: Sally Young Date: Tue, 20 Aug 2024 17:26:56 +0100 Subject: [PATCH] Ignore dirty submodules --- .github/workflows/TestStatic.yml | 4 ---- tasks/test.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/TestStatic.yml b/.github/workflows/TestStatic.yml index 3b732967..b6ce8221 100644 --- a/.github/workflows/TestStatic.yml +++ b/.github/workflows/TestStatic.yml @@ -77,10 +77,6 @@ jobs: continue-on-error: true run: ddev task test:untracked - - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - - name: Test for untracked and modified files run: | if [ "${{ steps.test_untracked.outcome }}" != "failure"]; then diff --git a/tasks/test.yml b/tasks/test.yml index 133ada1d..5ac74dfc 100644 --- a/tasks/test.yml +++ b/tasks/test.yml @@ -187,7 +187,7 @@ tasks: cmds: - | if [ "$(git status -s)" != "" ]; then - git status -s + git status -s --ignore-submodules=dirty echo "Untracked changes detected - please rectify or add the files to your .gitignore" exit 1 fi