Skip to content

v1.2.2

v1.2.2 #482

Workflow file for this run

name: CodeQL (filtered)
on:
push: {branches: ['**']}
pull_request: {branches: ['**']}
workflow_dispatch:
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with: {submodules: true}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with: {queries: security-and-quality}
- run: ./configure
- run: make exestamp png2webp
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
upload: false
output: sarif-results
- name: filter-sarif cpp
uses: advanced-security/filter-sarif@main
with:
patterns: -*lib*/**
input: sarif-results/cpp.sarif
output: sarif-results/cpp.sarif
- name: filter-sarif python
uses: advanced-security/filter-sarif@main
with:
patterns: -*lib*/**
input: sarif-results/python.sarif
output: sarif-results/python.sarif
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3
with: {sarif_file: sarif-results}
- name: Upload loc as a Build Artifact
uses: actions/upload-artifact@v4
with:
name: sarif-results
path: sarif-results
retention-days: 1