Skip to content

Commit

Permalink
Added flawfinder code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Delattre committed Aug 4, 2021
1 parent c683c55 commit fdf94e6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/flawfinder-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: flawfinder

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '44 0 * * 4'

jobs:
flawfinder:
name: Flawfinder
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: flawfinder_scan
uses: david-a-wheeler/flawfinder@8e4a779ad59dbfaee5da586aa9210853b701959c
with:
arguments: '--sarif ./'
output: 'flawfinder_results.sarif'

- name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{github.workspace}}/flawfinder_results.sarif
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ distributions:

* `CentOS 7 <docs/build/building_on_centos_7.md>`__
* `Fedora 34 </docs/build/building_on_fedora_34.md>`__
* `Ubuntu 20.04 </docs/build/building_on_ubuntu_20_04.md>`__ (this should work as well for Debian 10 and later)
* `Ubuntu 20.04 </docs/build/building_on_ubuntu_20_04.md>`__ (this should work as well for Debian 10)

Configuration
-------------
Expand Down

0 comments on commit fdf94e6

Please sign in to comment.