Skip to content

Update fossa.yaml

Update fossa.yaml #2

Workflow file for this run

name: FOSSA
on:
pull_request:
jobs:
fossa:
name: FOSSA
# prevent job running from forked repository, otherwise
# 1. running on the forked repository would fail as missing necessary secret.
# 2. running on the forked repository would use unnecessary GitHub Action time.
if: ${{ github.repository == 'kurator-dev/kurator' }}
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Run FOSSA scan and upload build data
uses: fossas/fossa-action@v1
with:
api-key: ${{secrets.FOSSA_API_KEY}}