1
0
Fork 0

Add workflow_dispatch for scan

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-08-16 06:29:45 -07:00 committed by GitHub
parent 217fbfb06d
commit fe2a912a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
name: Scan
on:
workflow_dispatch:
schedule:
# Scan the image regularly (once a day)
- cron: '0 23 * * *'
@ -23,4 +24,4 @@ jobs:
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'
sarif_file: 'trivy-results.sarif'