Skip to content

Migrate release/0.3 to gha from repo #8

Migrate release/0.3 to gha from repo

Migrate release/0.3 to gha from repo #8

Workflow file for this run

name: Run Webhook Fossa Scan
on:
push:
branches:
- master
tags:
- '*'
pull_request:
jobs:
fossa:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # needed for the Vault authentication
continue-on-error: true # we know that fossa test will report errors
steps:
- name: Load Secrets from Vault
uses: rancher-eio/read-vault-secrets@main
with:
secrets: |
secret/data/github/repo/${{ github.repository }}/fossa/credentials token | FOSSA_API_KEY
- name: Checkout Repo
uses: actions/checkout@v4
- name: Run FOSSA Analyze
uses: fossas/[email protected]
with:
api-key: ${{ env.FOSSA_API_KEY }}
- name: Run FOSSA test
uses: fossas/[email protected]
with:
api-key: ${{ env.FOSSA_API_KEY }}
run-tests: true