Skip to content

License Finder

License Finder #2

name: License Finder
on:
workflow_dispatch:
workflow_call:
jobs:
license_finder:
name: Audit 3rd-Party Licenses
runs-on: [ubuntu-latest]
container:
image: ghcr.io/viamrobotics/rdk-devenv:amd64-cache
options: --platform linux/amd64
timeout-minutes: 30
steps:
- name: Check out code
if: github.event_name != 'pull_request_target'
uses: actions/checkout@v3
- name: Check out PR branch code
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run license finder
run: |
sudo -Hu testbot bash -lc 'make license-check'