This repository was archived by the owner on May 22, 2026. It is now read-only.
Repository navigation
fix: app_python typo in Dockerfile #11
This file contains hidden or 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: Python Snyk Scan | |
| on: | |
| push: | |
| paths: | |
| - app_python/** | |
| - .github/actions/python-setup/** | |
| - .github/workflows/python-snyk.yml | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - app_python/** | |
| - .github/actions/python-setup/** | |
| - .github/workflows/python-snyk.yml | |
| jobs: | |
| snyk: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./app_python | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Python tooling and dependencies | |
| uses: ./.github/actions/python-setup | |
| - name: Setup Snyk CLI | |
| uses: snyk/actions/setup@master | |
| - name: Run Snyk dependency scan (or skip) | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
| run: | | |
| if [ -z "${SNYK_TOKEN:-}" ]; then | |
| echo "SNYK_TOKEN secret not set; skipping Snyk dependency scan." | |
| exit 0 | |
| fi | |
| snyk test --severity-threshold=high |