build(deps): update github actions (main) #2376
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: Check policy | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - hotfix/* | |
| - work/check-policy # For development | |
| jobs: | |
| policy: | |
| uses: canonical/starflow/.github/workflows/policy.yaml@main | |
| python-scans: | |
| name: Security scan | |
| 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. | |
| # 3. Docs contain requirements.txt files that don't specify versions. | |
| requirements-find-args: '! -name requirements-noble.txt ! -path "./tests/spread/*" ! -path "./docs/**"' | |
| # osv-extra-args: "--config=source/osv-scanner.toml" | |
| uv-export: false |