From ad2eaa2701fbf026504ca4205147b24733d06ad8 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Wed, 3 Sep 2025 18:20:36 -0700 Subject: [PATCH] CI: Show doctool diffs inside submodules --- .github/workflows/linux_builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index abababa6044c..97d2fa2a3d9a 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -248,7 +248,7 @@ jobs: echo "Running --doctool to see if this changes the public API without updating the documentation." echo -e "If a diff is shown, it means that your code/doc changes are incomplete and you should update the class reference with --doctool.\n\n" ${{ matrix.bin }} --doctool --headless 2>&1 > /dev/null || true - git diff --color --exit-code && ! git ls-files --others --exclude-standard | sed -e 's/^/New doc file missing in PR: /' | grep 'xml$' + git diff --color --submodule=diff --ignore-submodules=none --exit-code && ! git ls-files --others --exclude-standard | sed -e 's/^/New doc file missing in PR: /' | grep 'xml$' # Check API backwards compatibility - name: Check for GDExtension compatibility – JSON check