| 1 | // Approval case 2. The floor says nothing about hardware keys, and the |
| 2 | // project requires one. A project may always add the requirement, so the |
| 3 | // composed policy requires a hardware key. |
| 4 | package verification |
| 5 | |
| 6 | floor: { |
| 7 | checks: "c-build": {runner: "nix", attribute: "c-build"} |
| 8 | classes: guarded: { |
| 9 | paths: "src/**": true |
| 10 | requires: "c-build": true |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | templates: plain: {} |
| 15 | type: "plain" |
| 16 | |
| 17 | project: approval: hardware: true |