Skip to content

Commit

Permalink
Add exception to compress license
Browse files Browse the repository at this point in the history
The `compress` license for the code we use is actually BSD-3,
however it's License.md file is confusing the `go-license` tooling.

Signed-off-by: Tomasz Pietrek <[email protected]>
  • Loading branch information
Jarema committed Jan 16, 2025
1 parent 1e1519f commit a1f46e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ on:
push:
paths:
- 'go.mod'
- 'dependencies.tpl'
branches:
- main
- add-license-exception

jobs:
license-check:
Expand Down
3 changes: 2 additions & 1 deletion dependencies.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

This file lists the dependencies used in this repository.

{{/* compress has actually a BSD 3-Clause license, but the License file in the repo confuses go-license tooling, hence the manual exception */}}
| Dependency | License |
|--------------------------------------------------|-----------------------------------------|
{{ range . }}| {{.Name}} | {{.LicenseName}} |
{{ range . }}| {{ .Name }} | {{ if eq .Name "github.com/klauspost/compress" }}BSD 3-Clause{{ else }}{{ .LicenseName }}{{ end }} |
{{ end }}

0 comments on commit a1f46e7

Please sign in to comment.