Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit 66f5a41

Browse files
committed
schedule
1 parent 7d5157d commit 66f5a41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/scan.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
name: Scan
1616

1717
on:
18+
schedule:
19+
- cron: "*/2 * * * *"
1820
push:
1921
branches:
2022
- main
@@ -49,5 +51,6 @@ jobs:
4951
image: local/authservice:scan-amd64
5052
- run: cat ${{ steps.scan.outputs.sarif }}
5153
- uses: github/codeql-action/upload-sarif@v2
54+
if: ${{ github.event_name == 'schedule' }}
5255
with:
5356
sarif_file: ${{ steps.scan.outputs.sarif }}

0 commit comments

Comments
 (0)