Salus security scan #455
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
schedule: | |
- cron: '0 0 * * *' | |
name: Salus security scan | |
jobs: | |
salus_scan_job: | |
runs-on: ubuntu-latest | |
name: Salus Security Scan | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Inject nosec into generated files | |
run: ./hack/inject-nosec.sh | |
- name: Salus Scan | |
id: salus_scan | |
uses: federacy/scan-action@0.1.2 | |
with: | |
report_uri: file://./salus-report.txt | |
report_format: txt | |
- uses: actions/upload-artifact@master | |
if: failure() | |
with: | |
name: Scan results | |
path: ./salus-report.txt |