We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34687d7 commit 38a4e89Copy full SHA for 38a4e89
2 files changed
.github/workflows/security.yml
@@ -0,0 +1,29 @@
1
+name: Security
2
+
3
+on: [push, workflow_dispatch]
4
5
+jobs:
6
+ vuln-dep-check:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout code
10
+ uses: actions/checkout@v4
11
+ - name: Install node
12
+ uses: actions/setup-node@v4
13
+ with:
14
+ node-version-file: '.nvmrc'
15
+ cache: npm
16
+ - name: npm audit
17
+ run: npx audit-ci@^6 --config ./audit-ci.jsonc
18
+ semgrep:
19
20
+ concurrency:
21
+ group: ${{ github.workflow }}-${{ github.ref }}
22
+ env:
23
+ SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
24
+ container:
25
+ image: returntocorp/semgrep
26
27
+ - uses: actions/checkout@v4
28
+ - run: semgrep ci
29
audit-ci.jsonc
@@ -0,0 +1,4 @@
+{
+ "high": true,
+ "allowlist": [],
+}
0 commit comments