Source: .github/workflows/war-room.yml · repository automation
Permissions#
Top-level: {"contents":"read"}. Undeclared means inherited from the caller, not "none needed".
Job dependency graph#
Edges are YAML needs; conditional jobs may not run. Conditions are listed below.
Read diagram source
flowchart TD
n_deploy["deploy"]
n_validate["validate"]
n_validate --> n_deploy
Jobs#
| Job | Needs | Runner / delegate | Container / strategy | Condition |
|---|---|---|---|---|
deploy | validate | ubuntu-24.04 / — | — / — | github.event_name != 'pull_request' && github.ref == 'refs/heads/main' |
validate | ubuntu-24.04 / — | — / — | — |
Steps#
deploy#
| Step | Action / command | Condition |
|---|---|---|
| Deploy static war room | actions/deploy-pages@v5.0.0 | — |
validate#
| Step | Action / command | Condition |
|---|---|---|
| — | actions/checkout@v6 | — |
| — | dtolnay/rust-toolchain@stable | — |
| — | actions/setup-node@v6 | — |
| — | taiki-e/install-action@v2 | — |
| Rust quality | cargo fmt --all --check cargo test --locked --workspace --all-features cargo clippy --locked --workspace --all-targets --all-features -- -W clippy::pedantic -D warnings | — |
| Workflow validation | bash <(curl -sSfL https://raw.githubusercontent.com/rhysd/actionlint/v1.7.12/scripts/download-actionlint.bash) 1.7.12 "$RUNNER_TEMP" "$RUNNER_TEMP/actionlint" -color | — |
| Generate site content | cargo run --locked -p stroggforge-war-room -- build | — |
| Install build-only diagram tooling | npm ci | — |
| Render Mermaid diagrams to SVG | npm run diagrams | — |
| Build static site | zola --root site build | — |
| Check local links and anchors | python3 scripts/war-room/check-site.py | — |
| — | actions/upload-pages-artifact@v5.0.0 | — |