Scan vulnerabilities #336
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
name: Scan vulnerabilities | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Scan Go vulnerabilities | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4.1.6 | |
- name: Run Trivy vulnerability scanner and create GitHub issues | |
uses: knqyf263/trivy-issue-action@v0.0.6 | |
with: | |
assignee: knqyf263 | |
severity: CRITICAL | |
skip-dirs: integration,examples,pkg | |
label: kind/security | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |