-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(github): add periodic license check and README
add CLOMonitor use cycloneDX to generate licenses Signed-off-by: Charly Molter <[email protected]>
- Loading branch information
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# CLOMonitor metadata file | ||
# This file must be located at the root of the repository | ||
|
||
# Checks exemptions | ||
exemptions: | ||
- check: artifacthub_badge # Check identifier (see https://github.com/cncf/clomonitor/blob/main/docs/checks.md#exemptions) | ||
reason: "" # Justification of this exemption (mandatory, it will be displayed on the UI) | ||
|
||
# License scanning information | ||
licenseScanning: | ||
# Our license scanning is generated daily from master and is published as an artifact along with a | ||
# basic SBOM as a workflow artifact | ||
url: https://github.com/kumahq/kuma/actions/workflows/bom.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Build bom and licenses" | ||
on: | ||
workflow_dispatch: {} | ||
schedule: | ||
- cron: 0 3 * * * | ||
permissions: read-all | ||
jobs: | ||
sbom: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | ||
with: | ||
go-version-file: go.mod | ||
- used: CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2.0.0 | ||
with: | ||
version: v1 | ||
args: mod -licenses -json -output licenses.json | ||
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 | ||
with: | ||
name: licenses | ||
path: | | ||
licenses.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters