diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 49282e552..3ad1d6f10 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -43,11 +43,12 @@ jobs:
         run: |
           go mod tidy
           task generate
+          task generate-schemadoc
           STATUS=$(git status --porcelain)
           if [ ! -z "$STATUS" ]; then
             echo "Unstaged files:"
             echo $STATUS
-            echo "Run 'go mod tidy' or 'task generate' and commit them"
+            echo "Run 'go mod tidy', 'task generate' or 'task generate-schemadoc' and commit them"
             exit 1
           fi