This repository was archived by the owner on Feb 14, 2025. It is now read-only.
Scan dependencies for vulnerabilities with pip-audit #950
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: Scan dependencies for vulnerabilities with pip-audit | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| schedule: | |
| - cron: "0 12 * * *" | |
| jobs: | |
| pip-audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Install Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| # IMPORTANT: You may need a more specific version here. | |
| python-version: "3.x" | |
| - name: Run pip-audit | |
| uses: pypa/gh-action-pip-audit@v1.0.8 | |
| with: | |
| inputs: requirements.txt | |