Skip to content

Commit

Permalink
Add workflow for fossa analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
elaguerta-nr committed Oct 26, 2023
1 parent 53d9af9 commit 9dce12a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: FOSSA CLI Analysis
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
workflow_dispatch:

jobs:
fossa:
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v3

- name: Running FOSSA CLI
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
fossa --version
fossa analyze

0 comments on commit 9dce12a

Please sign in to comment.