Migrate Flask tutorial to Charmcraft RTD #250
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: Security scan | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- hotfix/* | |
- work/secscan # For development | |
jobs: | |
python-scans: | |
name: Scan Python project | |
uses: canonical/starflow/.github/workflows/scan-python.yaml@main | |
with: | |
packages: python-apt-dev | |
# 1. requirements-noble.txt can't build on jammy | |
# 2. Ignore requirements files in spread tests, as some of these intentionally | |
# contain vulnerable versions. | |
requirements-find-args: '! -name requirements-noble.txt ! -path "./tests/spread/*"' | |
osv-extra-args: '--config=source/osv-scanner.toml' |