Skip to content

Fix counting plugins migrated, Doctor JSON schema and multi-word command verbs reporting #547

Fix counting plugins migrated, Doctor JSON schema and multi-word command verbs reporting

Fix counting plugins migrated, Doctor JSON schema and multi-word command verbs reporting #547

name: Vulnerability Scan
on:
pull_request:
jobs:
scan-repo:
if: ${{ !contains(github.event.commits[0].message, '[skip-ci]') }}
runs-on: ubuntu-latest
name: Scan repository for vulnerabilities
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'