Add synthetic fixtures and proposed policy contracts for safely demonstrating future Lariza capabilities. Assisted-by: Codex: GPT-5.6
13 lines
297 B
Bash
Executable File
13 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
test -f .lariza/runner-policy.yaml
|
|
test -f fixtures/workflows/scheduled-disabled.yaml.txt
|
|
|
|
if grep -ERq --include='*.yaml' '^[[:space:]]*schedule:' .gitea/workflows; then
|
|
echo 'active scheduled workflow detected' >&2
|
|
exit 1
|
|
fi
|
|
|
|
printf 'manual-only workflow policy passed\n'
|