Skip to content

Commit

Permalink
setup license finder action
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpertsov committed Aug 12, 2022
1 parent a6946b9 commit dbbb596
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/license_finder.yml
Original file line number Diff line number Diff line change
@@ -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'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ dist/*

# exclude files from `ag` search
.ignore

# license finder
lf_logs/

0 comments on commit dbbb596

Please sign in to comment.