This repository was archived by the owner on Jul 14, 2026. It is now read-only.
deps(deps): bump requests (#6) #13
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: Dependency vulnerability triage | |
| on: | |
| schedule: | |
| # Monday 09:00 Australia/Sydney during standard time. | |
| - cron: "0 23 * * 0" | |
| pull_request: | |
| paths: | |
| - "requirements.txt" | |
| - "SECURITY.md" | |
| - "test_dependency_audit_runner.py" | |
| - "tools/dependency_audit_runner.py" | |
| - "tools/security_triage_ledger.py" | |
| - ".github/workflows/dependency-vulnerability-triage.yml" | |
| push: | |
| branches: | |
| - main | |
| - master | |
| paths: | |
| - "requirements.txt" | |
| - "SECURITY.md" | |
| - "test_dependency_audit_runner.py" | |
| - "tools/dependency_audit_runner.py" | |
| - "tools/security_triage_ledger.py" | |
| - ".github/workflows/dependency-vulnerability-triage.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: "pip" | |
| - name: Run audit runner self-tests | |
| run: python -m unittest test_dependency_audit_runner -v | |
| - name: Run hardened dependency audit | |
| run: | | |
| python tools/dependency_audit_runner.py \ | |
| --output-dir security-triage \ | |
| --clean \ | |
| --fail-on-kev \ | |
| --fail-on-watchlist | |
| - name: Add audit summary to job summary | |
| if: always() | |
| run: | | |
| if [ -f security-triage/audit-runner-diagnostics.md ]; then | |
| cat security-triage/audit-runner-diagnostics.md >> "$GITHUB_STEP_SUMMARY" | |
| fi | |
| if [ -f security-triage/audit-runner-summary.json ]; then | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | |
| echo "## Audit Runner Summary" >> "$GITHUB_STEP_SUMMARY" | |
| echo '```json' >> "$GITHUB_STEP_SUMMARY" | |
| cat security-triage/audit-runner-summary.json >> "$GITHUB_STEP_SUMMARY" | |
| echo '```' >> "$GITHUB_STEP_SUMMARY" | |
| fi | |
| if [ -f security-triage/security-triage-ledger.md ]; then | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | |
| cat security-triage/security-triage-ledger.md >> "$GITHUB_STEP_SUMMARY" | |
| else | |
| echo "Security triage ledger was not generated." >> "$GITHUB_STEP_SUMMARY" | |
| fi | |
| - name: Upload security triage ledger | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: security-triage-ledger | |
| path: security-triage/ | |
| if-no-files-found: error | |
| retention-days: 30 |