mandrel-platform 0.11.6 → 0.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,19 @@ Renovate preset, and operator runbook templates for the Mandrel platform.
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## Reusable workflows
|
|
9
|
+
|
|
10
|
+
The shared `workflow_call` workflows — `pr-quality.yml` and
|
|
11
|
+
`deploy-cloudflare.yml` (plus `codeql.yml` and `smoke-dispatch.yml`) — and
|
|
12
|
+
their public input/secret contract are documented in
|
|
13
|
+
**[docs/reusable-workflows.md](docs/reusable-workflows.md)**. Consumers should
|
|
14
|
+
configure their callers from that reference (input types, defaults,
|
|
15
|
+
when-to-override, the frozen `{CLOUDFLARE_*, TURSO_*}` deploy secret allowlist,
|
|
16
|
+
the single `ci-required` aggregator context, and the pin-by-tag/SHA versioning
|
|
17
|
+
model).
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
8
21
|
## Shared Composite Actions
|
|
9
22
|
|
|
10
23
|
### `setup-toolchain`
|
|
@@ -173,14 +186,14 @@ local-copy runbooks, un-simplified config). Run it from the consumer repo root:
|
|
|
173
186
|
node node_modules/mandrel-platform/scripts/platform-sync.mjs --ref mandrel-platform-v0.10.0
|
|
174
187
|
|
|
175
188
|
# Preview the plan without touching disk
|
|
176
|
-
node node_modules/mandrel-platform/scripts/platform-sync.mjs --ref
|
|
189
|
+
node node_modules/mandrel-platform/scripts/platform-sync.mjs --ref mandrel-platform-v0.10.0 --dry-run
|
|
177
190
|
```
|
|
178
191
|
|
|
179
192
|
What it does (each step is idempotent — a re-run on an already-synced repo
|
|
180
193
|
reports `already in sync`):
|
|
181
194
|
|
|
182
|
-
1. **Pins workflow SHAs.** Resolves `--ref` (a release tag
|
|
183
|
-
|
|
195
|
+
1. **Pins workflow SHAs.** Resolves `--ref` (a release tag or branch) to its
|
|
196
|
+
commit SHA via
|
|
184
197
|
`git ls-remote`, then rewrites every
|
|
185
198
|
`uses: dsj1984/mandrel-platform/...@<sha>` reference in the consumer's
|
|
186
199
|
`.github/workflows/` and `.github/actions/` to that single SHA. External
|
package/package.json
CHANGED