Skip to content

Commit 14bb9b8

Browse files
authored
chore: add license and security check (#99)
* fix: fix vulns * chore: add audit workflow * chore: setup tmate * chore: remove tmate * chore: update audit workflow * chore: update audit workflow
1 parent 9a04e32 commit 14bb9b8

4 files changed

Lines changed: 11043 additions & 994 deletions

File tree

.github/workflows/audit.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Security Audit
2+
3+
on:
4+
push:
5+
schedule:
6+
- cron: "0 0 * * *"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
check:
13+
permissions:
14+
checks: write
15+
contents: read
16+
issues: write
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v5
20+
21+
- name: Audit check
22+
working-directory: nodejs
23+
run: npx audit-ci --moderate --allowlist GHSA-qm9p-f9j5-w83w
24+
25+
- name: License check
26+
working-directory: nodejs
27+
run: |
28+
npx license-checker-rseidelsohn \
29+
--onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;MPL-2.0;CC-BY-4.0;0BSD"

0 commit comments

Comments
 (0)