From b503f96a2236da17a65d09a98bdec365e3fd0f21 Mon Sep 17 00:00:00 2001 From: Josh France <12610835+16francej@users.noreply.github.com> Date: Mon, 13 Jul 2026 15:18:13 -0700 Subject: [PATCH] fix: harden dependency-review workflow from adversarial review Fixes applied: - fail-on-scopes covers development deps, not just runtime (default) - path-filter to dependency manifests + workflow files (GitHub Actions ecosystem changes are also reviewed) - concurrency cancel-in-progress + 10min timeout, matching version-gate Auto-fixed by Claude watch-pipeline Co-Authored-By: Claude Fable 5 --- .github/workflows/dependency-review.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 52ef37b59..f36e1f771 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -1,6 +1,17 @@ name: Dependency Review -on: pull_request +on: + pull_request: + paths: + - 'package.json' + - 'bun.lock' + - '**/package.json' + - '**/bun.lock' + - '.github/workflows/**' + +concurrency: + group: dependency-review-${{ github.event.pull_request.number }} + cancel-in-progress: true permissions: contents: read @@ -8,6 +19,7 @@ permissions: jobs: dependency-review: runs-on: ubicloud-standard-8 + timeout-minutes: 10 permissions: contents: read pull-requests: write @@ -16,4 +28,5 @@ jobs: - uses: actions/dependency-review-action@v4 with: fail-on-severity: high + fail-on-scopes: runtime, development comment-summary-in-pr: on-failure