github / github/copilot-cli

Hooks cannot be scoped at a project-specific level in a monorepo

Aperta
#3,579 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:plugins
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### Describe the feature or problem you'd like to solve

Have hooks be able to be scoped at a sub-directory level within a repo, so that projects in a monorepo setup can setup project-specific hooks

### Proposed solution

Currently, a sub-directory .github folder can pick up skills scoped to that directory. This allows monorepo users to setup skills that apply to their project only. Having this apply to hooks will allow monorepo users to utilize hooks functionality as well, which will be a big functionality boost for AI-assisted workflows.

### Example prompts or workflows

- Have a hook that updates an execution plan whenever certain files are updated, so that the execution plan is an accurate source of truth for a given feature, instead of drifting as AI development continues.

### Additional context

This was originally filed as a bug - reclassifying as a feature request after feedback from GH Copilot team: https://github.com/github/copilot-cli/issues/3561

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.