Skip to content

Commit bf11467

Browse files
author
Jürgen Lange
authored
Create flawfinder.yml
1 parent b709e7f commit bf11467

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/flawfinder.yml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
name: flawfinder
7+
8+
on:
9+
push:
10+
branches: [ "master" ]
11+
pull_request:
12+
# The branches below must be a subset of the branches above
13+
branches: [ "master" ]
14+
schedule:
15+
- cron: '42 1 * * 3'
16+
17+
jobs:
18+
flawfinder:
19+
name: Flawfinder
20+
runs-on: ubuntu-latest
21+
permissions:
22+
actions: read
23+
contents: read
24+
security-events: write
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v3
28+
29+
- name: flawfinder_scan
30+
uses: david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c
31+
with:
32+
arguments: '--sarif ./'
33+
output: 'flawfinder_results.sarif'
34+
35+
- name: Upload analysis results to GitHub Security tab
36+
uses: github/codeql-action/upload-sarif@v2
37+
with:
38+
sarif_file: ${{github.workspace}}/flawfinder_results.sarif

0 commit comments

Comments
 (0)