Update workflow
This commit is contained in:
parent
ce83692cd3
commit
70014135c9
|
@ -1,9 +1,13 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sarif:
|
flawfinder:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Flawfinder
|
name: Flawfinder
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
steps:
|
steps:
|
||||||
# To use this repository's private action,
|
# To use this repository's private action,
|
||||||
# you must check out the repository
|
# you must check out the repository
|
||||||
|
@ -13,4 +17,9 @@ jobs:
|
||||||
- name: Flawfinder action step
|
- name: Flawfinder action step
|
||||||
uses: ./ # Uses an action in the root directory
|
uses: ./ # Uses an action in the root directory
|
||||||
with:
|
with:
|
||||||
command: '--version'
|
command: '--sarif ./ > flawfinder-results.sarif'
|
||||||
|
|
||||||
|
- name: Upload analysis results to GitHub Security tab
|
||||||
|
uses: github/codeql-action/upload-sarif@v1
|
||||||
|
with:
|
||||||
|
sarif_file: flawfinder-results.sarif
|
||||||
|
|
Loading…
Reference in New Issue