Overhaul latest_commit scripts for E2E, more logging and reduce GHA a… #501
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: FOSSA Scanning | |
on: | |
push: | |
branches: ["main", "master", "release-**"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
fossa-scanning: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Read FOSSA token | |
uses: rancher-eio/read-vault-secrets@main | |
with: | |
secrets: | | |
secret/data/github/org/rancher/fossa/push token | FOSSA_API_KEY_PUSH_ONLY | |
- name: FOSSA scan | |
uses: fossas/fossa-action@main | |
with: | |
api-key: ${{ env.FOSSA_API_KEY_PUSH_ONLY }} | |
run-tests: false |