Merge pull request #387 from krunalhinguu/add-v1.31.3 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Fossa Scan | |
on: | |
push: | |
tags: | |
- '*' | |
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 |