-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 978 Bytes
/
Copy pathestate-rules.yml
File metadata and controls
29 lines (28 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# Estate Rules — enforces hyperpolymath estate-wide conventions:
# * root shape (allowlist of permitted root entries)
# * AsciiDoc-by-default (no .md files under docs/)
# * zig is banned (no zig scaffolding or references)
#
# Each rule is enforced by an executable check script under scripts/. Failures
# are surfaced as workflow errors so the rule can't silently regress.
name: Estate Rules
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
estate-rules:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Root shape allowlist
run: bash scripts/check-root-shape.sh .
- name: AsciiDoc by default (no .md under docs/)
run: bash scripts/check-no-md-in-docs.sh .