Skip to content

Commit 81b8fff

Browse files
authored
chore: drop npm-audit job from security.yml until #21 lands frontend (#50)
1 parent 579bfb4 commit 81b8fff

3 files changed

Lines changed: 1 addition & 18 deletions

File tree

.github/branch-protection/develop.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"Lint PR title (conventional commits)",
1414
"Secret scan (gitleaks)",
1515
"Python deps (pip-audit)",
16-
"Frontend deps (npm audit)",
1716
"Container image scan (trivy)"
1817
]
1918
},

.github/branch-protection/main.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"Lint PR title (conventional commits)",
1414
"Secret scan (gitleaks)",
1515
"Python deps (pip-audit)",
16-
"Frontend deps (npm audit)",
1716
"Container image scan (trivy)"
1817
]
1918
},

.github/workflows/security.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,7 @@ jobs:
6767
--vulnerability-service osv \
6868
$IGNORES
6969
70-
npm-audit:
71-
name: Frontend deps (npm audit)
72-
runs-on: ubuntu-latest
73-
# Skips cleanly until #21 lands frontend/package.json.
74-
if: hashFiles('frontend/package-lock.json') != ''
75-
steps:
76-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
77-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
78-
with:
79-
node-version: "24"
80-
cache: npm
81-
cache-dependency-path: frontend/package-lock.json
82-
- run: cd frontend && npm ci
83-
# --audit-level=high — fail only on high/critical; moderate/low noted
84-
# but not blocking.
85-
- run: cd frontend && npm audit --audit-level=high
70+
# Frontend deps (npm audit) — added by ticket #21 alongside frontend/.
8671

8772
trivy-image:
8873
name: Container image scan (trivy)

0 commit comments

Comments
 (0)