Skip to content

Snyk

Snyk #6

Workflow file for this run

name: Snyk
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * 1" # runs each Monday at 9:00 UTC
permissions:
contents: read
security-events: write
jobs:
security:
strategy:
matrix:
python-version: [3.9]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install All Requirements
run: make install
- name: Run Snyk to check for vulnerabilities
run: snyk test --all-projects --detection-depth=5 --severity-threshold=high
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:

Check failure on line 31 in .github/workflows/snyk.yaml

View workflow run for this annotation

GitHub Actions / Snyk

Invalid workflow file

The workflow is not valid. .github/workflows/snyk.yaml (Line: 31, Col: 9): Unexpected value 'with'
args: --all-projects --detection-depth=5 --severity-threshold=high