Skip to content

Commit 52c2ee5

Browse files
Add grype scan, SBOM and improve labeling (omec-project#106)
Signed-off-by: Marikkannu, Suresh <suresh.marikkannu@intel.com>
1 parent bed62d4 commit 52c2ee5

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# Copyright 2024 Intel Corporation
33

4+
# Timeline for each ecosystem is intentionally staggered to spread
5+
# Dependabot PRs over the week.
46
version: 2
57
updates:
68

79
- package-ecosystem: "github-actions"
810
directory: "/"
911
schedule:
1012
interval: "weekly"
11-
day: "wednesday"
13+
day: "tuesday"
1214
time: "21:00"
1315
timezone: "America/Los_Angeles"
1416
groups:
@@ -20,6 +22,6 @@ updates:
2022
directory: "/"
2123
schedule:
2224
interval: "weekly"
23-
day: "wednesday"
25+
day: "thursday"
2426
time: "21:00"
2527
timezone: "America/Los_Angeles"

.github/workflows/push.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,27 @@ jobs:
4545
secrets: inherit
4646
with:
4747
branch_name: ${{ github.ref }}
48+
49+
sbom-source:
50+
needs: tag-github
51+
permissions:
52+
contents: read
53+
actions: read
54+
uses: omec-project/.github/.github/workflows/sbom-source.yml@d2c362a98ad0cb4911ea762e25109f71f2301d9e # v0.0.12
55+
with:
56+
changed: ${{ needs.tag-github.outputs.changed }}
57+
branch_name: ${{ github.ref }}
58+
artifact_name: ${{ github.event.repository.name }}-${{ needs.tag-github.outputs.version }}.spdx.json
59+
sbom_format: spdx-json
60+
path: .
61+
62+
grype-scan:
63+
needs: [tag-github, sbom-source]
64+
permissions:
65+
contents: read
66+
actions: read
67+
security-events: write # Required for SARIF upload to Code Scanning
68+
uses: omec-project/.github/.github/workflows/grype-scan.yml@d2c362a98ad0cb4911ea762e25109f71f2301d9e # v0.0.12
69+
with:
70+
changed: ${{ needs.tag-github.outputs.changed }}
71+
artifact_name: ${{ github.event.repository.name }}-${{ needs.tag-github.outputs.version }}.spdx.json

0 commit comments

Comments
 (0)