From 7eab49ab080b8d02f44cc8fcc4241d2666b3a0c9 Mon Sep 17 00:00:00 2001 From: Noah Paige Date: Tue, 19 Nov 2024 15:04:30 -0500 Subject: [PATCH] Add snyk workflow on schedule --- .github/workflows/snyk.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/snyk.yaml diff --git a/.github/workflows/snyk.yaml b/.github/workflows/snyk.yaml new file mode 100644 index 000000000..4372775ee --- /dev/null +++ b/.github/workflows/snyk.yaml @@ -0,0 +1,23 @@ +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: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run Snyk to check for vulnerabilities + uses: snyk/actions/python-3.9@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + with: + args: --severity-threshold=high \ No newline at end of file