Title: Hooks cannot be scoped at a project-specific level in a monorepo · Issue #3561 · github/copilot-cli · GitHub
Open Graph Title: Hooks cannot be scoped at a project-specific level in a monorepo · Issue #3561 · github/copilot-cli
X Title: Hooks cannot be scoped at a project-specific level in a monorepo · Issue #3561 · github/copilot-cli
Description: 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 ho...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/github/copilot-cli/issues/3561
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hooks cannot be scoped at a project-specific level in a monorepo","articleBody":"### Describe the bug\n\nWhen 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.\n\nI am not sure why this is an issue, since I know skills can be picked up at the project specific level by the CLI.\n\n### Affected version\n\nGitHub Copilot CLI 1.0.55\n\n### Steps to reproduce the behavior\n\n1. Create a hooks.json with some hooks in a project-specific `.github/` (not in the root of the repo)\n2. Observe CLI not pick up the hook\n3. Create the hooks in the repo-root `.github`\n4. Observe the CLI pick up the hooks\n\n### Expected behavior\n\nCLI should be able to pick up project-specific hooks.\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/Yajur-Grover","@type":"Person","name":"Yajur-Grover"},"datePublished":"2026-05-28T20:37:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3561/copilot-cli/issues/3561"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0bce5afa-cb08-4d6d-f58f-24942cce5211 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E904:2DB422:85AA04:B6EBEE:6A4DB811 |
| html-safe-nonce | 6995f5b708e285aea9073d1b01a50f28575612c97027242c32322c97b932d017 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTA0OjJEQjQyMjo4NUFBMDQ6QjZFQkVFOjZBNERCODExIiwidmlzaXRvcl9pZCI6IjExMTU2MzE2MzM5NTg4MTE2NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 589473846a88147dfc9b8a83bb70fef604a368121e6e517420180cdc57c0bb76 |
| hovercard-subject-tag | issue:4543635653 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/copilot-cli/3561/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f028f4c81c6abdd1b9787c5b994876a8b3b74a8273466b4ff24b3780912ed1e3/github/copilot-cli/issues/3561 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f028f4c81c6abdd1b9787c5b994876a8b3b74a8273466b4ff24b3780912ed1e3/github/copilot-cli/issues/3561 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Yajur-Grover |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/copilot-cli git https://github.com/github/copilot-cli.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 585860664 |
| octolytics-dimension-repository_nwo | github/copilot-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 585860664 |
| octolytics-dimension-repository_network_root_nwo | github/copilot-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width