Skip to content

Commit 1693668

Browse files
ci: skip lefthook on spec-sync bot push (#1866)
1 parent 1eb80c4 commit 1693668

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/update-spec-types.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ jobs:
5151
if: steps.check_changes.outputs.has_changes == 'true'
5252
env:
5353
GH_TOKEN: ${{ github.token }}
54+
# Skip lefthook pre-push (typecheck/lint/build); spec drift that breaks
55+
# typecheck should still open a PR so it can be fixed there.
56+
LEFTHOOK: 0
5457
run: |
5558
git config user.name "github-actions[bot]"
5659
git config user.email "github-actions[bot]@users.noreply.github.com"
5760
5861
git checkout -B update-spec-types
5962
git add packages/core/src/types/spec.types.ts
6063
git commit -m "chore: update spec.types.ts from upstream"
61-
git push -f origin update-spec-types
64+
git push -f --no-verify origin update-spec-types
6265
6366
# Create PR if it doesn't exist, or update if it does
6467
PR_BODY="This PR updates \`packages/core/src/types/spec.types.ts\` from the Model Context Protocol specification.

0 commit comments

Comments
 (0)