ci: skip lefthook on spec-sync bot push (#1866)
This commit is contained in:
parent
1eb80c4d08
commit
169366828c
1 changed files with 4 additions and 1 deletions
5
.github/workflows/update-spec-types.yml
vendored
5
.github/workflows/update-spec-types.yml
vendored
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue