Skip to content

feat(workflows): add dependency-review job to scaffold ci.yml - #1141

Merged
c-vigo merged 2 commits into
release/1.3.0from
feature/1140-scaffold-dependency-review
Jul 15, 2026
Merged

c-vigo merged 2 commits into
release/1.3.0from
feature/1140-scaffold-dependency-review

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the missing vulnerable-dependency gate to the scaffolded consumer CI
(assets/workspace/.github/workflows/ci.yml), targeting the in-flight 1.3.0
release so the next consumer deployments (commit-action redeploy,
sync-issues-action onboarding) ship with it.

  • Standalone dependency-review job — no toolchain, no container, no
    resolve-toolchain dependency; SHA-pinned actions/dependency-review-action
    v5.0.0 with fail-on-severity: high.
  • Doubly guarded (pull_request + !github.event.repository.private),
    mirroring the codeql.yml/scorecard.yml [FEATURE] Scaffold: guard codeql/scorecard workflows on private repos #1039 pattern: skipped-neutral on
    Free-plan private repos, auto-activates when a repo flips public.
  • CI Summary requires it with the same skip-is-OK treatment as the PR-only
    commit-checks job — only a genuine failure trips the gate.
  • Devkit's own ci.yml is untouched (it already runs Dependency Review with
    the allow-list mechanism); the scaffold version deliberately omits the
    exceptions seam.

TDD: shape tests in tests/test_workflow_private_repo_guard.py committed RED
first (280712a2), implementation GREEN (76793824); rendered-scaffold
actionlint bats 5/5, full prek suite green.

Changelog entry added under ## [1.3.0] - TBD (### Added) + hook-synced
mirror.

Note for the release driver: rc1 predates this change — an rc2 cut is needed
before finalizing 1.3.0.

Closes #1140

c-vigo added 2 commits July 15, 2026 20:10
Consumers scaffolded from devkit had no vulnerable-dependency gate. Add a
standalone dependency-review job (dependency-review-action v5,
fail-on-severity: high) mirroring devkit-own, minus its exceptions
allow-list seam. Guarded to public-repo pull requests (#1039 pattern):
private repos get a skipped-neutral run and auto-activate when flipped
public. Wired into CI Summary with skip-is-OK handling like commit-checks.

Refs: #1140
@c-vigo
c-vigo merged commit 6c90937 into release/1.3.0 Jul 15, 2026
13 checks passed
@c-vigo
c-vigo deleted the feature/1140-scaffold-dependency-review branch July 15, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant