Skip to content

perf: ADR-007 profiling, grayscale masks, and render optimizations #253

perf: ADR-007 profiling, grayscale masks, and render optimizations

perf: ADR-007 profiling, grayscale masks, and render optimizations #253

Workflow file for this run

name: Security Audit
on:
schedule:
- cron: "34 3 12,26 * *"
push:
paths:
- .github/workflows/security-audit.yml
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
paths-ignore:
- "*.md"
- "docs/**"
- "LICENSE"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
trivy:
name: Trivy Scan
runs-on: ubuntu-latest
if: >-
(github.event_name != 'pull_request' || github.event.pull_request.draft == false) &&
!startsWith(github.head_ref, 'release-please--')
timeout-minutes: 10
permissions:
contents: read
security-events: write
actions: read
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Run Trivy analysis
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
with:
scan-type: "repo"
scan-ref: "."
format: "sarif"
output: "results.sarif"
scanners: "misconfig,secret,license"
severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
exit-code: "1"
trivyignores: ".trivyignore.yaml"
- name: Upload artifact
uses: actions/upload-artifact@v7
if: always()
with:
name: trivy-sarif
path: results.sarif
retention-days: 30
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
if: always()
with:
sarif_file: results.sarif