gunk-dev/the-valley

template-default-declined.cue

sourcee87fa7234439main's published tip history
462 bytes
1// Approval case 3. The template requires a hardware key as a default, and
2// the project turns the default off. The composed policy does not require a
3// hardware key.
4package verification
5
6floor: checks: "c-build": {runner: "nix", attribute: "c-build"}
7
8templates: service: {
9 classes: guarded: {
10 paths: "hooks/**": bool | *true
11 requires: "c-build": bool | *true
12 }
13 approval: hardware: bool | *true
14}
15type: "service"
16
17project: approval: hardware: false