Merge P2.3: license gate and third-party notices
# Conflicts: # docs/oss/upstream-fixes.md
This commit is contained in:
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@@ -91,6 +91,38 @@ jobs:
|
||||
run: npm audit --audit-level=high
|
||||
continue-on-error: true
|
||||
|
||||
# License gate (P2.3). The npm check reads the shipped closures from
|
||||
# package-lock.json, so it needs no install. cargo-deny checks the crates of
|
||||
# the desktop shell against app/src-tauri/deny.toml; it is pinned, cached,
|
||||
# and fetches the crates itself.
|
||||
licenses:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CARGO_DENY_VERSION: 0.18.3
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22.23.2
|
||||
|
||||
- name: Licenses — shipped npm packages
|
||||
run: npm run check:licenses
|
||||
|
||||
- name: Cache cargo-deny
|
||||
id: cargo-deny-cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cargo/bin/cargo-deny
|
||||
key: ${{ runner.os }}-cargo-deny-${{ env.CARGO_DENY_VERSION }}
|
||||
|
||||
- name: Install cargo-deny
|
||||
if: steps.cargo-deny-cache.outputs.cache-hit != 'true'
|
||||
run: cargo install cargo-deny --locked --version "$CARGO_DENY_VERSION"
|
||||
|
||||
- name: Licenses — Rust crates (cargo-deny)
|
||||
run: cargo deny --manifest-path app/src-tauri/Cargo.toml check licenses
|
||||
|
||||
# ADVISORY / NON-BLOCKING. `continue-on-error: true` means a red e2e run does
|
||||
# NOT block merges — by design. These specs are broad product/audit journeys
|
||||
# (full-product-audit, power-user-stress, competitive-benchmarks, …) that are
|
||||
|
||||
Reference in New Issue
Block a user