Skip to content

EXCH-10878 Fetch upstream changes #4

EXCH-10878 Fetch upstream changes

EXCH-10878 Fetch upstream changes #4

name: Security Check
on:
pull_request:
branches: [master]
jobs:
build:
name: Trivy security check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'