meshtastic-firmware/.github/workflows/sec_sast_flawfinder.yml

42 wiersze
919 B
YAML
Czysty Zwykły widok Historia

2022-11-20 12:50:38 +00:00
---
name: Flawfinder Scan
2022-11-20 12:50:38 +00:00
on:
push:
branches: [master, develop]
paths-ignore:
- "**.md"
- "version.properties"
2022-11-20 12:50:38 +00:00
jobs:
flawfinder:
runs-on: ubuntu-latest
name: Flawfinder
2022-11-20 12:50:38 +00:00
steps:
# step 1
- name: clone application source code
uses: actions/checkout@v4
2022-11-20 12:50:38 +00:00
# step 2
- name: flawfinder_scan
uses: david-a-wheeler/flawfinder@2.0.19
with:
arguments: "--sarif ./"
output: "flawfinder_report.sarif"
2022-11-20 12:50:38 +00:00
# step 3
- name: save report as pipeline artifact
uses: actions/upload-artifact@v4
with:
name: flawfinder_report.sarif
overwrite: true
path: flawfinder_report.sarif
2022-11-20 12:50:38 +00:00
# step 4
- name: publish code scanning alerts
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: flawfinder_report.sarif
category: flawfinder