build: use starflow #363
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: 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 | ||
uses: lengau/starflow/.github/workflows/scan-python.yaml@work/CRAFT-3707/uv | ||
Check failure on line 14 in .github/workflows/security-scan.yaml
|
||
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' | ||
uv-export: false | ||
uv-sync-extra-args: --no-dev |