Skip to content

Commit

Permalink
Add separate fossa-caos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elaguerta-nr committed Apr 10, 2024
1 parent e8f9a5d commit 042838f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/fossa-caos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: FOSSA CLI Analysis
on:
push:
branches: [ $default-branch ]
pull_request:
branches: [ $default-branch ]
workflow_dispatch:
schedule:
- cron: '30 * * * *'

jobs:
fossa:
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
ORG: ${{ github.repository_owner }}
REPO: ${{ github.repository }}
ORG_ADMIN_PAT: ${{ secrets.ELAGUERTA_PAT }}

strategy:
fail-fast: false

steps:
- name: Give GitHub Actions access to private crates
uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.CAOS_RUST_CRATE_FOSSA }}
- name: Run default FOSSA workflow
uses: newrelic-csec/.github/.github/workflows/fossa.yml

0 comments on commit 042838f

Please sign in to comment.