Skip to content

Commit 1a468b3

Browse files
committed
chore(ci): move security audit from PR checks to release gate
Bugbot already handles vulnerability scanning on PRs, making the npm audit step in CI redundant and disruptive. Moving it to the release workflow ensures high/critical CVEs block publishing without blocking unrelated PRs.
1 parent 59b0eb3 commit 1a468b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,3 @@ jobs:
3232

3333
- name: Check formatting
3434
run: npx prettier --check 'src/**/*.ts' '*.json' '.prettierrc'
35-
36-
- name: Security audit
37-
run: npm audit --audit-level=high

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ jobs:
6262
git_email: 'clients@pinecone.io'
6363
git_username: ${{ github.actor }}
6464

65+
- name: Security audit
66+
run: npm audit --audit-level=high
67+
6568
##### VERSION BUMP #####
6669
- name: 'Bump version for production release'
6770
if: inputs.releaseMode == 'prod'

0 commit comments

Comments
 (0)