From fe2a912a8bd474072b9eee9b80ef0144e78930d1 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 16 Aug 2023 06:29:45 -0700 Subject: [PATCH] Add workflow_dispatch for scan Signed-off-by: Tommy --- .github/workflows/scan.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index a92f733..1b07ae4 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -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' \ No newline at end of file + sarif_file: 'trivy-results.sarif'