Describe the bug
When trying to create custom hooks for my project in my project-specific .github/hooks.json, the hooks do not get recognized by the CLI (after restarting the session). I am working within a monorepo, and it seems like hooks only get picked up in the root .github/hooks.json, which I cannot do since I want my hooks to be project specific.
I am not sure why this is an issue, since I know skills can be picked up at the project specific level by the CLI.
Affected version
GitHub Copilot CLI 1.0.55
Steps to reproduce the behavior
- Create a hooks.json with some hooks in a project-specific
.github/ (not in the root of the repo)
- Observe CLI not pick up the hook
- Create the hooks in the repo-root
.github
- Observe the CLI pick up the hooks
Expected behavior
CLI should be able to pick up project-specific hooks.
Additional context
No response
Describe the bug
When trying to create custom hooks for my project in my project-specific
.github/hooks.json, the hooks do not get recognized by the CLI (after restarting the session). I am working within a monorepo, and it seems like hooks only get picked up in the root.github/hooks.json, which I cannot do since I want my hooks to be project specific.I am not sure why this is an issue, since I know skills can be picked up at the project specific level by the CLI.
Affected version
GitHub Copilot CLI 1.0.55
Steps to reproduce the behavior
.github/(not in the root of the repo).githubExpected behavior
CLI should be able to pick up project-specific hooks.
Additional context
No response