From dbbb5965e8ecb973437ebc82b6081186c3e0e060 Mon Sep 17 00:00:00 2001 From: Maxim Pertsov Date: Fri, 12 Aug 2022 12:14:23 -0400 Subject: [PATCH] setup license finder action --- .github/workflows/license_finder.yml | 25 +++++++++++++++++++++++++ .gitignore | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/license_finder.yml 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/