Skip to content

Commit

Permalink
snyk and fossa
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev authored and frankhinek committed Dec 6, 2023
1 parent 6aa4251 commit 5e08aef
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ on:
workflow_dispatch:

jobs:
security-action:
name: Security Analysis
snyk:
runs-on: ubuntu-latest

steps:
Expand All @@ -35,6 +34,21 @@ jobs:
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

- name: Upload SARIF result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: snyk.sarif

fossa:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Run FOSSA Scan
uses: fossas/fossa-action@main
with:
Expand All @@ -45,9 +59,3 @@ jobs:
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true

- name: Upload SARIF result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: snyk.sarif

0 comments on commit 5e08aef

Please sign in to comment.