Skip to content

Commit 39b5f2a

Browse files
committed
Add dependency-review workflow & config
This commit adds a dependency-review.yml actions workflow and its associated "config-file": - .github/dependency-review-config.yml - .github/workflows/dependency-review.yml
1 parent a3a2029 commit 39b5f2a

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Dependency Review Configuration
2+
# https://github.com/actions/dependency-review-action?tab=readme-ov-file#configuration-options
3+
#
4+
# All allowed packages are transitive devDependencies that cannot be directly
5+
# controlled. They come from:
6+
# - @vscode/vsce (VS Code extension packaging tool) — 16 packages
7+
# - mocha (VS Code integration test runner) — 1 package
8+
#
9+
# None of these packages are bundled into the published extension (.vsix) or
10+
# the published npm package (codeql-development-mcp-server). They are only
11+
# present during development and CI builds.
12+
13+
# Fail only on critical/high severity vulnerabilities in production dependencies.
14+
fail-on-severity: 'high'
15+
16+
# Allow specific transitive devDependencies with OpenSSF Scorecard below
17+
# the repository threshold of 3. Each is a transitive dependency of either
18+
# @vscode/vsce or mocha and cannot be removed or replaced.
19+
allow-packages:
20+
# @vscode/vsce → form-data → asynckit
21+
- 'pkg:npm/asynckit'
22+
# @vscode/vsce → keytar → prebuild-install → tar-fs → tar-stream → bl → buffer → base64-js
23+
- 'pkg:npm/base64-js'
24+
# @vscode/vsce → form-data → combined-stream
25+
- 'pkg:npm/combined-stream'
26+
# @vscode/vsce → form-data → combined-stream → delayed-stream
27+
- 'pkg:npm/delayed-stream'
28+
# @vscode/vsce → @azure/identity → @azure/msal-node → jsonwebtoken → jws → jwa → ecdsa-sig-formatter
29+
- 'pkg:npm/ecdsa-sig-formatter'
30+
# @vscode/vsce → yauzl → fd-slicer
31+
- 'pkg:npm/fd-slicer'
32+
# mocha → yargs → get-caller-file
33+
- 'pkg:npm/get-caller-file'
34+
# @vscode/vsce → keytar → prebuild-install → tar-fs → tar-stream → bl → buffer → ieee754
35+
- 'pkg:npm/ieee754'
36+
# @vscode/vsce → secretlint → globby → fast-glob → merge2
37+
- 'pkg:npm/merge2'
38+
# @vscode/vsce → yauzl → fd-slicer → pend
39+
- 'pkg:npm/pend'
40+
# @vscode/vsce → keytar → prebuild-install → rc
41+
- 'pkg:npm/rc'
42+
# @vscode/vsce → keytar/jsonwebtoken chains → safe-buffer
43+
- 'pkg:npm/safe-buffer'
44+
# @vscode/vsce → keytar → prebuild-install → simple-get → simple-concat
45+
- 'pkg:npm/simple-concat'
46+
# @vscode/vsce → azure-devops-node-api/typed-rest-client → tunnel
47+
- 'pkg:npm/tunnel'
48+
# @vscode/vsce → @secretlint/secretlint-formatter-sarif → node-sarif-builder → fs-extra → universalify
49+
- 'pkg:npm/universalify'
50+
# @vscode/vsce → keytar → prebuild-install → tar-fs → tar-stream → readable-stream → util-deprecate
51+
- 'pkg:npm/util-deprecate'
52+
# @vscode/vsce → xml2js → xmlbuilder
53+
- 'pkg:npm/xmlbuilder'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Dependency Review
2+
3+
on:
4+
pull_request:
5+
branches: ['main']
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
dependency-review:
12+
name: Dependency Review
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v6
17+
18+
- name: Dependency Review
19+
uses: actions/dependency-review-action@v4
20+
with:
21+
config-file: '.github/dependency-review-config.yml'

0 commit comments

Comments
 (0)