File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " npm"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ day : " monday"
8+ open-pull-requests-limit : 10
9+ groups :
10+ tauri-plugins :
11+ patterns :
12+ - " @tauri-apps/*"
13+ react-ecosystem :
14+ patterns :
15+ - " react"
16+ - " react-dom"
17+ - " react-*"
18+ - " @types/react*"
19+ dev-tooling :
20+ patterns :
21+ - " eslint*"
22+ - " @eslint/*"
23+ - " prettier*"
24+ - " typescript*"
25+ - " vite*"
26+ - " @vitejs/*"
27+ - " tailwindcss*"
28+ - " @tailwindcss/*"
29+
30+ - package-ecosystem : " cargo"
31+ directory : " /src-tauri"
32+ schedule :
33+ interval : " weekly"
34+ day : " monday"
35+ open-pull-requests-limit : 10
36+
37+ - package-ecosystem : " github-actions"
38+ directory : " /"
39+ schedule :
40+ interval : " weekly"
41+ day : " monday"
42+ open-pull-requests-limit : 5
Original file line number Diff line number Diff line change 1+ name : Security Audit
2+
3+ on :
4+ push :
5+ branches : [master, main]
6+ pull_request :
7+ branches : [master, main]
8+ schedule :
9+ - cron : " 0 6 * * 1"
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ npm-audit :
16+ name : npm audit
17+ runs-on : ubuntu-latest
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : 20
24+
25+ - name : Install dependencies
26+ run : npm ci
27+
28+ - name : Run npm audit (production)
29+ run : npm audit --omit=dev --audit-level=high
30+
31+ cargo-audit :
32+ name : cargo audit
33+ runs-on : ubuntu-latest
34+ steps :
35+ - uses : actions/checkout@v4
36+
37+ - uses : dtolnay/rust-toolchain@stable
38+
39+ - name : Install cargo-audit
40+ run : cargo install cargo-audit --locked
41+
42+ - name : Run cargo audit
43+ run : cargo audit
44+ working-directory : src-tauri
Original file line number Diff line number Diff line change 7676 - name : Install dependencies
7777 run : pnpm install --frozen-lockfile
7878
79+ - name : Security audit
80+ run : npm audit --omit=dev --audit-level=high
81+
7982 - name : Build and publish signed bundles
8083 uses : tauri-apps/tauri-action@v1
8184 env :
You can’t perform that action at this time.
0 commit comments