Scan vulnerabilities #223
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/[email protected] | |
- name: Run Trivy vulnerability scanner and create GitHub issues | |
uses: knqyf263/[email protected] | |
with: | |
assignee: knqyf263 | |
severity: CRITICAL | |
skip-dirs: integration,examples,pkg | |
label: kind/security | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |