| 1 | module the-valley/valleyhook |
| 2 | |
| 3 | go 1.24 |
| 4 | |
| 5 | require ( |
| 6 | the-valley/change v0.0.0 |
| 7 | the-valley/note v0.0.0 |
| 8 | ) |
| 9 | |
| 10 | // The note envelope is shared with attest (../attest), so the hook reads a |
| 11 | // pushed note exactly the way a verifier does. The change record is shared |
| 12 | // with the valley command (../status), so the hook reads a pushed record |
| 13 | // exactly the way the command that wrote it does. Both live in this |
| 14 | // repository and are never fetched. |
| 15 | replace ( |
| 16 | the-valley/change => ../change |
| 17 | the-valley/note => ../note |
| 18 | ) |