1
0
mirror of https://github.com/tommytran732/Synapse-Docker synced 2024-12-22 09:11:34 -05:00

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

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'