Skip to content

Commit b9960f4

Browse files
authored
Add 3rd party license auditing (#5)
1 parent 414ee8b commit b9960f4

File tree

3 files changed

+98
-0
lines changed

3 files changed

+98
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @viamrobotics/sdk-netcode

.github/workflows/license-finder.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: License Finder
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_call:
6+
pull_request:
7+
branches: ["main"]
8+
9+
jobs:
10+
license_finder:
11+
if: github.repository_owner == 'viamrobotics'
12+
name: Audit 3rd-Party Licenses
13+
runs-on: ubuntu-latest
14+
container:
15+
image: ghcr.io/viamrobotics/canon:arm64-cache
16+
timeout-minutes: 30
17+
env:
18+
DOTNET_NOLOGO: true
19+
DOTNET_CLI_TELEMETRY_OPTOUT: true
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: actions/setup-dotnet@v4
24+
with:
25+
dotnet-version: 8
26+
27+
- run: dotnet build src/Viam.Net.Sdk.Core
28+
29+
- name: Run license finder
30+
run: license_finder --project-path src/Viam.Net.Sdk.Core --decisions-file doc/dependency_decisions.yml

doc/dependency_decisions.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
- - :permit
3+
- Apache 2.0
4+
- :who:
5+
:why:
6+
:versions: []
7+
:when: 2024-03-27 22:20:13.686526678 Z
8+
- - :permit
9+
- MIT
10+
- :who:
11+
:why:
12+
:versions: []
13+
:when: 2024-03-27 22:20:13.686526678 Z
14+
- - :permit
15+
- BSD-3-Clause
16+
- :who:
17+
:why:
18+
:versions: []
19+
:when: 2024-03-27 22:20:13.686526678 Z
20+
- - :permit
21+
- BSD
22+
- :who:
23+
:why:
24+
:versions: []
25+
:when: 2024-03-27 22:20:13.686526678 Z
26+
- - :permit
27+
- Simplified BSD
28+
- :who:
29+
:why:
30+
:versions: []
31+
:when: 2024-03-27 22:20:13.686526678 Z
32+
- - :permit
33+
- ISC License (ISCL)
34+
- :who:
35+
:why:
36+
:versions: []
37+
:when: 2024-03-27 22:20:13.686526678 Z
38+
- - :permit
39+
- Historical Permission Notice and Disclaimer (HPND)
40+
- :who:
41+
:why:
42+
:versions: []
43+
:when: 2022-09-16 15:36:22.534210576 Z
44+
- - :permit
45+
- Public Domain
46+
- :who:
47+
:why:
48+
:versions: []
49+
:when: 2024-03-27 22:20:13.686526678 Z
50+
- - :permit
51+
- http://go.microsoft.com/fwlink/?LinkId=329770
52+
- :who: njooma
53+
:why: Standard Microsoft C# License
54+
:versions: []
55+
:when: 2024-05-16 21:17:01.069715000 Z
56+
- - :permit
57+
- https://github.com/dotnet/corefx/blob/master/LICENSE.TXT
58+
- :who: njooma
59+
:why: Standard Microsoft C# License
60+
:versions: []
61+
:when: 2024-05-16 21:18:08.797321000 Z
62+
- - :permit
63+
- https://www.bouncycastle.org/csharp/licence.html
64+
- :who: njooma
65+
:why: MIT License
66+
:versions: []
67+
:when: 2024-05-16 21:19:59.654240000 Z

0 commit comments

Comments
 (0)