| 1 | // Grants are the project's, not its protection's. A protection block names |
| 2 | // protected refs and their writers and nothing else, so a grant written |
| 3 | // inside it is an unknown field. |
| 4 | package valley |
| 5 | |
| 6 | projects: ok: protection: allow: [{ |
| 7 | refs: ["refs/tags/*"] |
| 8 | writers: ["operator"] |
| 9 | }] |