feat(api): add tenant funcs to retrieve subjects based on clusterrole bindings #958
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: FOSSA | |
permissions: {} | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
fossa-scan: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "Checkout Code" | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Check secret | |
id: checksecret | |
uses: ./.github/actions/exists | |
with: | |
value: ${{ secrets.FOSSA_API_KEY }} | |
- name: "Run FOSSA Scan" | |
if: steps.checksecret.outputs.result == 'true' | |
uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # v1.4.0 | |
with: | |
api-key: ${{ secrets.FOSSA_API_KEY }} | |
- name: "Run FOSSA Test" | |
if: steps.checksecret.outputs.result == 'true' | |
uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # v1.4.0 | |
with: | |
api-key: ${{ secrets.FOSSA_API_KEY }} | |
run-tests: true |