License Checks #53
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 Checks | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
permissions: | |
contents: read | |
jobs: | |
fossa-check: | |
name: Run FOSSA Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3 | |
with: | |
ref: master | |
- name: Install dependencies | |
uses: bahmutov/npm-install@cb39a46f27f14697fec763d60fb23ad347e2befa # tag=v1 | |
- name: Install fossa-cli | |
run: ./scripts/install-fossa.sh -d | |
- name: Run FOSSA analysis | |
run: | | |
fossa analyze | |
fossa test | |
env: | |
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} |