Skip to content

Commit

Permalink
Add OSP Reusable Workflow for Scans
Browse files Browse the repository at this point in the history
  • Loading branch information
leordev committed Mar 27, 2024
1 parent a783e70 commit 47c4978
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Security Scanning
name: Security and License Scans

on:
pull_request_target:
Expand All @@ -17,22 +17,6 @@ on:
workflow_dispatch:

jobs:
fossa:
runs-on: ubuntu-latest

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

- name: Run FOSSA Scan
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}

- name: Run FOSSA Test
uses: fossas/fossa-action@main
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
run-tests: true
security-license-scan:
uses: TBD54566975/open-source-programs/.github/workflows/security.yml@main
secrets: inherit

0 comments on commit 47c4978

Please sign in to comment.