Yamllint action version bumps #1996
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Trivy: | |
# Trivy (pronunciation) is a comprehensive and versatile security scanner. | |
# Trivy has scanners that look for security issues, and targets where it can find those issues. | |
# https://github.com/aquasecurity/trivy | |
--- | |
name: Trivy | |
on: | |
push: | |
branches: [dev, master] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [dev] | |
schedule: | |
- cron: "0 7,13 * * *" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- 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" |