Open source prep 2: Licenses #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/viamrobotics/canon:amd64-cache | |
timeout-minutes: 30 | |
steps: | |
- name: Check out code in rdk directory | |
uses: actions/checkout@v4 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Run license finder | |
run: | | |
license_finder |