Skip to content

Commit cf17066

Browse files
authoredSep 2, 2024··
allow ci to still function when npm audit finds vuln in prod deps (#525)
* allow ci to still function when npm audit finds vuln in prod deps * fix formatting
1 parent ac8f53c commit cf17066

File tree

3 files changed

+42
-3
lines changed

3 files changed

+42
-3
lines changed
 

‎.devcontainer/devcontainer.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "Syslog Portal Dev Container",
3+
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:22-bookworm",
4+
"features": {
5+
"ghcr.io/devcontainers/features/github-cli:1": {},
6+
"ghcr.io/devcontainers/features/common-utils:2": {},
7+
"ghcr.io/devcontainers-contrib/features/prettier:1": {},
8+
"ghcr.io/devcontainers-contrib/features/ansible:2": {},
9+
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
10+
"packages": "net-tools,iputils-ping,build-essential"
11+
}
12+
},
13+
"customizations": {
14+
"vscode": {
15+
"extensions": [
16+
"github.vscode-pull-request-github",
17+
"github.vscode-github-actions",
18+
"johnpapa.vscode-peacock",
19+
"ms-vscode.makefile-tools"
20+
],
21+
"settings": {
22+
"editor.tabSize": 2,
23+
"terminal.integrated.defaultProfile.linux": "zsh",
24+
"terminal.integrated.profiles.linux": {
25+
"bash": {
26+
"path": "bash",
27+
"icon": "terminal-bash"
28+
},
29+
"zsh": {
30+
"path": "zsh"
31+
}
32+
}
33+
}
34+
}
35+
}
36+
}

‎.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
security-events: write
1818
secrets:
1919
SONARQUBE_KEY: ${{ secrets.SONARQUBE_KEY }}
20+
with:
21+
continue-on-prod-vulns: true
2022
build-container:
2123
name: 'Build container image'
2224
uses: curium-rocks/flows/.github/workflows/oci-build-image.yml@main

‎package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.