File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ # Python dependencies
4+ - package-ecosystem : pip
5+ directory : /
6+ schedule :
7+ interval : weekly
8+ open-pull-requests-limit : 10
9+ labels : ["dependencies"]
10+
11+ # GitHub Actions
12+ - package-ecosystem : github-actions
13+ directory : /
14+ schedule :
15+ interval : weekly
16+ open-pull-requests-limit : 5
17+ labels : ["dependencies", "ci"]
Original file line number Diff line number Diff line change 1+ name : Security Audit
2+ on :
3+ push :
4+ branches : [main]
5+ paths :
6+ - ' pyproject.toml'
7+ - ' uv.lock'
8+ pull_request :
9+ paths :
10+ - ' pyproject.toml'
11+ - ' uv.lock'
12+ schedule :
13+ # Run weekly on Monday at 08:00 UTC
14+ - cron : ' 0 8 * * 1'
15+
16+ jobs :
17+ pip-audit :
18+ name : Audit Python dependencies
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+ - uses : astral-sh/setup-uv@v4
23+ with :
24+ version : " latest"
25+ - name : Set up Python
26+ run : uv python install 3.12
27+ - name : Install pip-audit
28+ run : pip install pip-audit
29+ - name : Audit dependencies
30+ run : uv export --frozen --no-hashes > /tmp/requirements.txt && pip-audit -r /tmp/requirements.txt --desc
You can’t perform that action at this time.
0 commit comments