-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (58 loc) · 1.94 KB
/
Copy pathchecks.yml
File metadata and controls
66 lines (58 loc) · 1.94 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: checks
on: [push, pull_request]
jobs:
hygiene:
name: repo hygiene
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Required files present
run: |
for f in LICENSE README.md CONTRIBUTING.md CODE_OF_CONDUCT.md GOVERNANCE.md SECURITY.md; do
[ -f "$f" ] || { echo "::error::missing $f"; exit 1; }
done
- name: Markdown links resolve
uses: lycheeverse/lychee-action@v2
with: { args: "--no-progress ." }
schema:
name: records validate against schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install jsonschema
- name: Validate fixtures
run: |
python -m jsonschema -i fixtures/sample.json schema/record.schema.json \
|| { echo "::error::fixture does not match schema"; exit 1; }
normalisation:
name: unicode form is consistent
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Assert single normalisation form
run: python scripts/check_normalisation.py
duplicates:
name: no duplicate pairs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: python scripts/check_duplicates.py
# ---- Not yet implemented. Visible on purpose: honest status, published roadmap. ----
language-identity:
name: language identity (planned — year 1)
if: false
runs-on: ubuntu-latest
steps:
- run: echo "Off-the-shelf language ID is unreliable for yor/swa/pcm. Needs a team-defined approach."
benchmark-leakage:
name: benchmark leakage (planned — needs holdout list)
if: false
runs-on: ubuntu-latest
steps:
- run: echo "Blocked on the benchmark holdout ID list."
provenance-gate:
name: provenance and rights gate (planned — vocabulary not yet defined)
if: false
runs-on: ubuntu-latest
steps:
- run: echo "Blocked on rights_status vocabulary."