-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathlefthook.yml
More file actions
21 lines (20 loc) · 884 Bytes
/
lefthook.yml
File metadata and controls
21 lines (20 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
#
pre-commit:
commands:
# Regenerate plugin SKILL.md files whenever ai-context-generator or the
# build script itself is part of the commit. This prevents the CI check
# "Verify committed skill not modified by build" from failing on every push
# that touches the AI context generator.
regen-skill-adapters:
glob:
- "packages/skills/src/services/ai-context-generator.ts"
- "packages/skills/scripts/build-skill-adapters.js"
run: |
npm run build --workspace=packages/skills
node packages/skills/scripts/build-skill-adapters.js
git add plugins/claude/n8n-as-code/skills/n8n-architect/SKILL.md \
plugins/openclaw/n8n-as-code/skills/n8n-architect/SKILL.md