Skip to content

Snyk 🔎

Snyk 🔎 #60

Workflow file for this run

name: Snyk 🔎
on:
schedule:
- cron: '0 0 * * 0' # midnight every Sunday
jobs:
snyk-report:
name: Update Snyk report in the docs directory 🔒
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build reports
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
run: |
make snyk-report
git config --global user.email '[email protected]'
git config --global user.name 'CI'
git add docs/snyk/index.md
git add docs/snyk/*/*.html
git commit -m "[Bot] Update Snyk reports"
git push