-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
40 lines (32 loc) · 1.05 KB
/
fluidscan.yml
File metadata and controls
40 lines (32 loc) · 1.05 KB
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
name: Fluidattacks - Code scanning
on:
schedule:
- cron: '0 10 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
fluidattacks-scan:
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
steps:
- name: "Checkout code"
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
persist-credentials: false
- name: "Run Fluidattacks scanner"
run: |
bash scripts/ci/run-fluidattacks-scanner.sh
- name: "Upload scan results"
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: SARIF scan results
path: fluidscan-results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7
with:
sarif_file: fluidscan-results.sarif