diff --git a/.github/workflows/update-spec-types.yml b/.github/workflows/update-spec-types.yml index 2d66ae053..5d6cec7b0 100644 --- a/.github/workflows/update-spec-types.yml +++ b/.github/workflows/update-spec-types.yml @@ -51,6 +51,9 @@ jobs: if: steps.check_changes.outputs.has_changes == 'true' env: GH_TOKEN: ${{ github.token }} + # Skip lefthook pre-push (typecheck/lint/build); spec drift that breaks + # typecheck should still open a PR so it can be fixed there. + LEFTHOOK: 0 run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" @@ -58,7 +61,7 @@ jobs: git checkout -B update-spec-types git add packages/core/src/types/spec.types.ts git commit -m "chore: update spec.types.ts from upstream" - git push -f origin update-spec-types + git push -f --no-verify origin update-spec-types # Create PR if it doesn't exist, or update if it does PR_BODY="This PR updates \`packages/core/src/types/spec.types.ts\` from the Model Context Protocol specification.