chore(deps): update registry.fedoraproject.org/fedora:45 docker digest to c44a779 #366
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: Security Scanning | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| # Run weekly on Mondays | |
| - cron: '0 0 * * 1' | |
| jobs: | |
| security-scan: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| pip install safety bandit | |
| # pip-audit: fail on new OSV/PyPI advisories. Pygments CVE-2026-4539 (dev-only via pytest/diff-cover): | |
| # no release >2.19.2 on PyPI yet — remove these --ignore-vuln flags when pyproject pins pygments>=2.19.3. | |
| - name: Run pip-audit | |
| run: | | |
| pip-audit -l --desc on \ | |
| --ignore-vuln CVE-2026-4539 \ | |
| --ignore-vuln GHSA-5239-wwwm-4pmq | |
| - name: Run Safety check | |
| run: | | |
| safety check --json || safety check | |
| continue-on-error: true | |
| - name: Run Bandit security linter | |
| run: | | |
| bandit -r pulp_tool/ -f json -o bandit-report.json || bandit -r pulp_tool/ | |
| continue-on-error: true | |
| - name: Upload Bandit results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: bandit-report | |
| path: bandit-report.json | |
| if-no-files-found: ignore |