Skip to content

Commit 384a825

Browse files
ajitpratap0Ajit Pratap Singhclaude
authored
fix(ci): allow modernc.org/libc NOASSERTION license in dependency review
modernc.org/libc is BSD-3-Clause but GitHub's license detection reports NOASSERTION due to a detection failure on modernc.org packages. Adding LicenseRef-github-NOASSERTION to the allow-licenses list prevents false positive CI failures on PRs that depend on modernc.org/sqlite. Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f0720d5 commit 384a825

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/security.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,16 @@ jobs:
170170
allow-ghsas: GHSA-x744-4wpc-v9h2
171171
# Include both the compound SPDX expression and individual components
172172
# to handle golang.org/x packages which report as compound license
173+
# modernc.org/libc is BSD-3-Clause but GitHub reports NOASSERTION
174+
# due to license detection failure on the modernc.org packages.
173175
allow-licenses: >-
174176
MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC,
175177
BlueOak-1.0.0, OFL-1.1, CC-BY-4.0, MPL-2.0, 0BSD,
176178
LicenseRef-scancode-google-patent-license-golang,
177179
BSD-3-Clause AND LicenseRef-scancode-google-patent-license-golang,
178180
LicenseRef-bad-fsl-1.1-mit,
179-
0BSD AND ISC AND MIT
181+
0BSD AND ISC AND MIT,
182+
LicenseRef-github-NOASSERTION
180183
181184
govulncheck:
182185
name: Go Vulnerability Check

0 commit comments

Comments
 (0)