Skip to content

Unify workflow triggers #72

Unify workflow triggers

Unify workflow triggers #72

Workflow file for this run

name: Check license compliance and security issues FOSSA
on:
push:
branches:
- "master" # Run the workflow when pushing to the master branch
paths:
- 'src/**'
- '.github/workflows/fossa-scan.yml'
pull_request:
paths:
- 'src/**'
- '.github/workflows/fossa-scan.yml'
types: [opened, synchronize, reopened]
jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}