Skip to content

Security

Security #82

Workflow file for this run

name: Security
on:
push:
branches: ["main", "dev"]
paths-ignore:
- ".github/**"
pull_request:
paths-ignore:
- ".github/**"
schedule:
- cron: "0 9 * * 1"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
dependency-audit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
pip install pip-audit
- name: Dependency vulnerability audit
run: |
python -m pip_audit -r requirements.txt -r requirements-dev.txt