Skip to content

Commit

Permalink
Add license auditing (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
njooma authored May 17, 2024
1 parent be3cabb commit 87f2e5b
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/license-finder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: License Finder

on:
workflow_dispatch:
workflow_call:
pull_request:
branches: ["main"]

jobs:
license_finder:
if: github.repository_owner == 'viamrobotics'
name: Audit 3rd-Party Licenses
runs-on: ubuntu-latest
container:
image: ghcr.io/cirruslabs/flutter
timeout-minutes: 30

steps:
- uses: actions/checkout@v4

- run: flutter pub get
env:
PUB_CACHE: .pub-cache # install to this directory

# License finder doesn't look in the correct directory, so we have to rename
# See https://github.com/pivotal/LicenseFinder/issues/1001
- run: mv .pub-cache/hosted/pub.dev .pub-cache/hosted/pub.dartlang.org

- run: gem install license_finder

- name: Run license finder
run: license_finder
env:
PUB_CACHE: .pub-cache
85 changes: 85 additions & 0 deletions doc/dependency_decisions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
- - :permit
- Apache 2.0
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- MIT
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- BSD-3-Clause
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- BSD
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- Simplified BSD
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- ISC License (ISCL)
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- Historical Permission Notice and Disclaimer (HPND)
- :who:
:why:
:versions: []
:when: 2022-09-16 15:36:22.534210576 Z
- - :permit
- Public Domain
- :who:
:why:
:versions: []
:when: 2024-03-27 22:20:13.686526678 Z
- - :permit
- Mozilla Public License 2.0
- :who:
:why:
:versions: []
:when: 2024-05-16 20:44:37.656722000 Z
- - :approve
- flutter
- :who: njooma
:why: License is BSD 3-Clause 'New' or 'Revised' License
:versions: []
:when: 2024-05-16 20:46:15.794903000 Z
- - :approve
- flutter_test
- :who: njooma
:why: License is BSD 3-Clause 'New' or 'Revised' License
:versions: []
:when: 2024-05-16 20:47:09.926152000 Z
- - :approve
- platform_detect
- :who: njooma
:why: License is Apache License, Version 2.0
:versions: []
:when: 2024-05-16 20:48:06.152380000 Z
- - :approve
- sky_engine
- :who: njooma
:why: License is BSD 3-Clause 'New' or 'Revised' License
:versions: []
:when: 2024-05-16 20:49:31.176154000 Z
- - :approve
- viam_sdk
- :who: njooma
:why: License is Apache License, Version 2.0
:versions: []
:when: 2024-05-16 20:49:48.048674000 Z

0 comments on commit 87f2e5b

Please sign in to comment.