mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-24 03:58:12 -08:00
* chore: add integration label and merge security label * use the kind/security label for vulnerabilities Co-authored-by: knqyf263 <knqyf263@gmail.com>
23 lines
568 B
YAML
23 lines
568 B
YAML
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@v3
|
|
|
|
- name: Run Trivy vulnerability scanner and create GitHub issues
|
|
uses: knqyf263/trivy-issue-action@v0.0.4
|
|
with:
|
|
assignee: knqyf263
|
|
severity: CRITICAL
|
|
skip-dirs: integration,examples
|
|
label: kind/security
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |