diff --git a/.github/workflows/license_finder.yml b/.github/workflows/license_finder.yml new file mode 100644 index 000000000..061236fb5 --- /dev/null +++ b/.github/workflows/license_finder.yml @@ -0,0 +1,25 @@ +name: License Finder + +on: + workflow_dispatch: + workflow_call: + push: + +jobs: + license_finder: + name: Audit 3rd-Party Licenses + runs-on: [x64, qemu-host] + container: + image: ghcr.io/viamrobotics/canon:amd64-cache + options: --platform linux/amd64 + timeout-minutes: 30 + + steps: + - name: Check out code in rdk directory + uses: actions/checkout@v2 + with: + fetch-depth: 2 + + - name: Run license finder + run: | + sudo -u testbot bash -lc 'license_finder' diff --git a/.gitignore b/.gitignore index 1d836c6ca..a9a30e095 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,6 @@ dist/* # exclude files from `ag` search .ignore + +# license finder +lf_logs/