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 authored and lucasgonze committed Dec 13, 2023
1 parent 7cfaa34 commit 106d246
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 106d246

Please sign in to comment.