flawfinder/.github/workflows/main.yml

26 lines
669 B
YAML
Raw Normal View History

on: [push]
jobs:
2021-06-23 21:23:34 +02:00
flawfinder:
name: Flawfinder
2021-06-23 21:23:34 +02:00
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Flawfinder action step
uses: ./ # Uses an action in the root directory
with:
2021-06-23 21:23:34 +02:00
command: '--sarif ./ > flawfinder-results.sarif'
- name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
2021-06-23 21:33:34 +02:00
sarif_file: ./flawfinder-results.sarif