Skip to content

Move jupyter + fuse into optional dependencies #61

Move jupyter + fuse into optional dependencies

Move jupyter + fuse into optional dependencies #61

name: Check licenses
on:
push:
branches: [ "main", "master" ]
paths:
- setup.py
- requirements*.txt
pull_request:
branches: [ "main", "master" ]
paths:
- setup.py
- requirements*.txt
jobs:
check-licenses:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dagshub/python-license-checker-action@v1
- run: |
commit="$GITHUB_SHA"
base_link="github.com/$GITHUB_REPOSITORY"
date=`date "+%B %e %Y"`
awk -F',' -v "commit=$commit" -v "base_link=$base_link" -v "date=$date" '{OFS=","; print base_link,commit,date,$1_$2,$3,$4}' licenses.csv > python-licenses.csv
- name: Upload python license report
uses: actions/upload-artifact@v3
with:
name: python-licenses.csv
path: python-licenses.csv
if-no-files-found: error