From efc92eb7d517d91d2ba2f0b347754b28ae16fbee Mon Sep 17 00:00:00 2001 From: haelyra <49814733+haelyra@users.noreply.github.com> Date: Mon, 16 Nov 2026 13:42:11 -0500 Subject: [PATCH] fix(ci): scope isolated audit metadata to supported step contexts --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6c25bb99..0ccf8ddaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -453,10 +453,6 @@ jobs: name: Security Scan runs-on: ubuntu-latest timeout-minutes: 5 - env: - # Keep verifier metadata and TUF roots isolated from runner-image caches. - npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache - steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -469,9 +465,13 @@ jobs: node-version: '20.x' - name: Install audit dependencies + env: + npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache run: npm ci --ignore-scripts - name: Run npm audit + env: + npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache run: | npm audit signatures # Runtime/package advisories are release blockers. Development-only