Files
Jarvis/.github/workflows/dependency-review.yml
james.maes 223310aa27 ci(actions): full pipeline — build / test / scan / publish (#154)
Adds five GitHub Actions workflows + CODEOWNERS + BUILDING.md CI section.

- ci.yml: boundary gates (Ubuntu), webview pnpm test+build (Ubuntu), 14-package SPM matrix on macos-15, app target via xcodebuild, optional self-hosted real-hardware lane, semver tag-publish on push to develop/rc/release/main.
- codeql.yml: Swift + JS/TS with security-extended queries, weekly cron.
- semgrep.yml: p/default + p/swift + p/typescript + p/secrets, SARIF upload, optional SEMGREP_APP_TOKEN.
- dependency-review.yml: blocks severity:high on PRs touching manifests/lockfiles.
- release.yml: tag-triggered GitHub Release with auto-generated changelog.

Branch + tag conventions: feature/fix branches run checks only; develop publishes v0.X.Y-dev.<run_number>; rc/release publishes v0.X.Y-rc.N; main publishes v0.X.Y. Conventional-Commits-aware bumping (feat → minor, fix → patch, feat!/BREAKING → major). Seed version v0.1.0.
2026-05-13 06:28:10 -05:00

36 lines
1.0 KiB
YAML

# Dependency review on PRs that touch manifest/lockfiles for npm or SPM.
# Fails the PR if a new dependency introduces a known high-severity vuln
# or a forbidden license.
name: Dependency Review
on:
pull_request:
branches: [develop, main]
paths:
- "webview/package.json"
- "webview/pnpm-lock.yaml"
- "webview/packages/**/package.json"
- "**/Package.swift"
- "**/Package.resolved"
- ".github/workflows/dependency-review.yml"
permissions:
contents: read
pull-requests: write
jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
fail-on-severity: high
# Default license policy: warn on copyleft, fail on nothing automatically.
# Tighten via `deny-licenses: GPL-2.0, GPL-3.0, AGPL-3.0` after the
# user reviews the existing SPM + npm graph.
comment-summary-in-pr: on-failure