Skip to content

Added pip-audit Github workflow #2

Added pip-audit Github workflow

Added pip-audit Github workflow #2

Workflow file for this run

name: pip-audit
on:
workflow_dispatch:
push:
branches: [main, release]
pull_request:
branches: [main]
jobs:
pip-audit:
steps:

Check failure on line 12 in .github/workflows/pip-audit.yml

View workflow run for this annotation

GitHub Actions / pip-audit

Invalid workflow file

The workflow is not valid. .github/workflows/pip-audit.yml (Line: 12, Col: 9): Required property is missing: runs-on
- uses: actions/setup-python@v4
with:
python-version: 3.10 # change to your required version of Python
- name: 'Generate requirements.txt'
run: |
pipx run pipfile-requirements Pipfile.lock > requirements.txt
- uses: pypa/gh-action-pip-audit@v1.0.8
with:
inputs: requirements.txt