Skip to content

build(deps): bump github/codeql-action from 3.25.11 to 3.26.11 #491

build(deps): bump github/codeql-action from 3.25.11 to 3.26.11

build(deps): bump github/codeql-action from 3.25.11 to 3.26.11 #491

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: flawfinder
on:
push:
branches: [ master ]
paths:
- 'meson.build'
- '.github/workflows/**'
- '**.c'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
paths:
- 'meson.build'
- '.github/workflows/**'
- '**.c'
schedule:
- cron: '23 10 * * 3'
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
flawfinder:
name: Flawfinder
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: flawfinder_scan
uses: david-a-wheeler/flawfinder@c57197cd6061453f10a496f30a732bc1905918d1 # v2.0.19
with:
arguments: '--sarif ./'
output: 'flawfinder_results.sarif'
- name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
with:
sarif_file: ${{github.workspace}}/flawfinder_results.sarif