Skip to content

Commit 124276f

Browse files
authored
Change SBOM scan schedule timing
Updated the schedule for SBOM scan to run hourly at 28 minutes past the hour.
1 parent f515958 commit 124276f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/scan.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: SBOM Scan
22

33
on:
4-
# schedule:
5-
# # run hourly at 58 past the hour
6-
# - cron: "58 * * * *"
7-
push:
8-
branches:
9-
- develop
10-
- main
4+
schedule:
5+
# run hourly at 28 past the hour
6+
- cron: "28 * * * *"
7+
# push:
8+
# branches:
9+
# - develop
10+
# - main
1111

1212
jobs:
1313
scan:
@@ -115,4 +115,4 @@ jobs:
115115
name: trivy-sbom-reports-${{ github.run_id }}
116116
path: trivy-reports/*.json
117117
retention-days: 7
118-
if-no-files-found: ignore
118+
if-no-files-found: ignore

0 commit comments

Comments
 (0)