Skip to content

Migrate release 0.3 to gha #2

Migrate release 0.3 to gha

Migrate release 0.3 to gha #2

Workflow file for this run

name: Run 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
- name: Checkout Repo
uses: actions/checkout@v4
- name: Run FOSSA Analyze
uses: fossas/[email protected]
with:
api-key: ${{ env.FOSSA }}
- name: Run FOSSA test
uses: fossas/[email protected]
with:
api-key: ${{ env.FOSSA }}
run-tests: true