Skip to content

refactor: upload

refactor: upload #128

Workflow file for this run

name: flawfinder
on:
push:
branches:
- master
paths:
- '.github/**'
- '**.hpp'
- '**.cpp'
pull_request:
branches:
- master
paths:
- '.github/**'
- '**.hpp'
- '**.cpp'
schedule:
- cron: '29 17 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || 'x' }}-${{ github.workflow }}-${{ github.ref }}-flawfinder
cancel-in-progress: true
jobs:
flawfinder:
name: Flawfinder
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: flawfinder_scan
uses: david-a-wheeler/flawfinder@master
with:
arguments: '--sarif src/'
output: 'flawfinder_results.sarif'
- name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{github.workspace}}/flawfinder_results.sarif