| 1 | name: SCA |
| 2 | on: |
| 3 | push: |
| 4 | branches: ["master"] |
| 5 | pull_request: |
| 6 | branches: ["master"] |
| 7 | jobs: |
| 8 | snyk-cli: |
| 9 | uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main |
| 10 | with: |
| 11 | additional-arguments: "--exclude=README.md,.jfrog --command=./venv/bin/python3" |
| 12 | python-version: "3.11" |
| 13 | pre-scan-commands: | |
| 14 | python3 -m venv venv --upgrade-deps |
| 15 | ./venv/bin/pip3 install -r requirements.txt |
| 16 | secrets: inherit |