mirror of
https://github.com/tommytran732/Synapse-Docker
synced 2024-11-21 22:31:32 -05:00
Add workflow_dispatch for scan
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
217fbfb06d
commit
fe2a912a8b
3
.github/workflows/scan.yml
vendored
3
.github/workflows/scan.yml
vendored
@ -1,6 +1,7 @@
|
|||||||
name: Scan
|
name: Scan
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
# Scan the image regularly (once a day)
|
# Scan the image regularly (once a day)
|
||||||
- cron: '0 23 * * *'
|
- cron: '0 23 * * *'
|
||||||
@ -23,4 +24,4 @@ jobs:
|
|||||||
- name: Upload Trivy scan results to GitHub Security tab
|
- name: Upload Trivy scan results to GitHub Security tab
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v2
|
||||||
with:
|
with:
|
||||||
sarif_file: 'trivy-results.sarif'
|
sarif_file: 'trivy-results.sarif'
|
||||||
|
Loading…
Reference in New Issue
Block a user