Commit 9310623
committed
ci(workflows): fix boj-build YAML + gate mirror secrets on presence
Follow-up to #360 (the remaining real workflow_audit items; owner chose
'new separate job' for boj-build and 'harden all 6' for the mirrors).
boj-build.yml — was invalid YAML: the 'K9-SVC Validation' and 'Contractile
Check' steps were indented at job level instead of step level, so GitHub
could not load the workflow at all. Moved them into a new ungated job
'validate-contractiles' that runs on every push (the trigger-boj job is
gated on BOJ_SERVER_URL, which must not gate repo self-validation). Both
jobs gained timeout-minutes: 10. The completeness check was also wrong
(hard-coded 'must trust dust lust adjust intend' — 'lust' does not exist,
'bust' was missing, and intend's file is Intentfile.a2ml not Intendfile);
it now reads the canonical verb set from the registry
(.machine_readable/contractiles/INDEX.a2ml), as INDEX itself instructs
consumers to do. Verified green locally: all 6 contractiles present.
mirror-reusable.yml — the six SSH-based mirror jobs (gitlab, bitbucket,
codeberg, sourcehut, disroot, gitea) ran webfactory/ssh-agent with an
inherited SSH key gated only on vars.<FORGE>_MIRROR_ENABLED, so an
enabled-but-unconfigured repo fed ssh-agent an empty key and failed.
Applied the existing Radicle pattern: gate the ssh-agent and push steps
on secrets.<FORGE>_SSH_KEY != '' and add a Skipped notice step on == ''
so the job ends cleanly with an actionable ::notice:: instead of erroring.
https://claude.ai/code/session_01XZhw6Fq27eoeyEB4LR3a2c1 parent 6cd3772 commit 9310623
2 files changed
Lines changed: 92 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
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 | | - | |
| 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 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| |||
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| 92 | + | |
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
89 | 101 | | |
90 | 102 | | |
91 | 103 | | |
| |||
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
| 111 | + | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
| 115 | + | |
102 | 116 | | |
103 | 117 | | |
104 | 118 | | |
105 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
106 | 124 | | |
107 | 125 | | |
108 | 126 | | |
| |||
113 | 131 | | |
114 | 132 | | |
115 | 133 | | |
| 134 | + | |
116 | 135 | | |
117 | 136 | | |
118 | 137 | | |
| 138 | + | |
119 | 139 | | |
120 | 140 | | |
121 | 141 | | |
122 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
123 | 147 | | |
124 | 148 | | |
125 | 149 | | |
| |||
130 | 154 | | |
131 | 155 | | |
132 | 156 | | |
| 157 | + | |
133 | 158 | | |
134 | 159 | | |
135 | 160 | | |
| 161 | + | |
136 | 162 | | |
137 | 163 | | |
138 | 164 | | |
139 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
140 | 170 | | |
141 | 171 | | |
142 | 172 | | |
| |||
147 | 177 | | |
148 | 178 | | |
149 | 179 | | |
| 180 | + | |
150 | 181 | | |
151 | 182 | | |
152 | 183 | | |
| 184 | + | |
153 | 185 | | |
154 | 186 | | |
155 | 187 | | |
156 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
157 | 193 | | |
158 | 194 | | |
159 | 195 | | |
| |||
0 commit comments