generated from wr-projects/github-template
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.34 KB
/
xanitizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
name: Pipeline - Xanitizer
on:
push:
schedule:
- '0 5 * * *'
jobs:
xanitizer_security_analysis:
runs-on: ubuntu-latest
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5
with:
egress-policy: audit
- name: Checkout Project
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- name: Use Node.js v16
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: 16.10.0
cache: pnpm
- name: Install Dependencies
run: pnpm --frozen-lockfile
- name: Xanitizer Security Analysis
uses: RIGS-IT/xanitizer-action@87d13138fb113b727cbe040c744a15a2b4fe5316
with:
license: ${{ secrets.XANITIZER_LICENSE }}
- name: Upload artifact
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb
with:
name: Xanitizer-Reports
path: |
*-Findings-List.pdf
*-Findings-List.sarif
- name: Upload SARIF File
uses: github/codeql-action/upload-sarif@c719ec0b337ad8a0f3336d778d54e0f30df35713
with:
sarif_file: Xanitizer-Findings-List.sarif