-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblocks.json
More file actions
91 lines (91 loc) · 2.35 KB
/
Copy pathblocks.json
File metadata and controls
91 lines (91 loc) · 2.35 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"$schema": "https://raw.githubusercontent.com/Blockchains/.github/main/docs/blocks.schema.json",
"schema_version": "1.0",
"name": "fork-sync",
"repo": "Blockchains/fork-sync",
"summary": "Keeps the curated Blockchains forks in line with their upstreams: forks.json lists each fork, upstream, branch and mode (merge via the merge-upstream API, or tracking for forks whose GitHub parent differs from the real upstream); nightly workflow + box-side script.",
"kind": [
"automation",
"dataset",
"cli"
],
"stability": "stable",
"license": "NOASSERTION",
"entrypoints": [
{
"type": "file",
"name": "forks.json",
"ref": "forks.json",
"usage": "slug, fork, upstream, upstream_branch, branch, mode, tracking_branch, category, license, wave"
},
{
"type": "cli",
"name": "scripts/sync.py",
"ref": "scripts/sync.py",
"usage": "python3 scripts/sync.py [--dry-run] [--only a,b] [--pace SECONDS]"
},
{
"type": "github-action",
"name": "Nightly fork sync",
"ref": ".github/workflows/sync.yml",
"usage": "02:17 UTC + workflow_dispatch (input: only)"
}
],
"inputs": [
{
"name": "forks.json",
"type": "JSON"
},
{
"name": "FORK_SYNC_TOKEN",
"type": "secret",
"description": "enables real syncs in Actions; otherwise read-only drift check"
}
],
"outputs": [
{
"name": "reports/last-sync.json",
"type": "JSON artifact",
"description": "per-fork result"
},
{
"name": "synced forks",
"type": "GitHub"
}
],
"deps": [
"python3",
"gh"
],
"compatible_with": [
{
"repo": "Blockchains/blockchainlab-index",
"how": "indexes the synced forks nightly, after this runs"
},
{
"repo": "Blockchains/awesome-blockchainlab",
"how": "list of the same forks"
},
{
"repo": "Blockchains/grokhack-index",
"how": "syncs its own fork list best-effort"
}
],
"tests": {
"command": "python3 scripts/sync.py --dry-run",
"ci": ".github/workflows/sync.yml",
"network": true
},
"env": [
{
"name": "FORK_SYNC_TOKEN",
"required": false,
"purpose": "repo secret; PAT with repo + workflow on Blockchains"
}
],
"docs": {
"readme": "README.md",
"agents": "AGENTS.md",
"llms": "llms.txt"
}
}