fix: activate native protocol hooks in nested worktrees
This commit is contained in:
parent
67e6fcdd38
commit
97858eb8b5
7 changed files with 48 additions and 4 deletions
|
|
@ -10,6 +10,7 @@ active_authority_surfaces=(
|
|||
".github/workflows/ci.yml"
|
||||
".github/workflows/README.md"
|
||||
".husky/pre-push"
|
||||
"scripts/install-guanghu-native-hooks.sh"
|
||||
"scripts/run-hololake-native-quality-gate.sh"
|
||||
".claude/settings.local.json"
|
||||
".chunk/config.json"
|
||||
|
|
@ -47,6 +48,10 @@ if grep -Ein \
|
|||
fi
|
||||
|
||||
grep -Fq 'GLS-0844' "${repository_root}/AGENTS.md"
|
||||
grep -Fq 'install-guanghu-native-hooks.sh' "${repository_root}/package.json"
|
||||
grep -Fq 'core.hooksPath' "${repository_root}/scripts/install-guanghu-native-hooks.sh"
|
||||
grep -Fq 'cd "$hook_dir/.."' "${repository_root}/.husky/pre-commit"
|
||||
grep -Fq 'cd "$hook_dir/.."' "${repository_root}/.husky/pre-push"
|
||||
grep -Fq 'GHNQG_PASS_100' "${repository_root}/.husky/pre-push"
|
||||
grep -Fq 'run-hololake-native-quality-gate.sh' "${repository_root}/.husky/pre-push"
|
||||
grep -Fq 'run-hololake-native-quality-gate.sh' "${repository_root}/.github/workflows/ci.yml"
|
||||
|
|
|
|||
Loading…
Reference in a new issue