Skip to content

fix: remove --no-update as it is the default in poetry 2.0 #32

fix: remove --no-update as it is the default in poetry 2.0

fix: remove --no-update as it is the default in poetry 2.0 #32

name: Snyk Security
on:
push:
branches:
- main
jobs:
snyk-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Snyk CLI
run: npm install -g snyk
- name: Snyk Monitor and Test multiple projects
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
SNYK_ORG: ${{ secrets.SNYK_ORG }}
run: |
echo "Fetching tags"
git fetch origin 'refs/tags/*:refs/tags/*'
echo "Authenticating with Snyk"
snyk auth ${SNYK_TOKEN}
echo "Scanning project: codeflare-sdk/main"
snyk monitor --all-projects --exclude=requirements.txt --org=${SNYK_ORG} --target-reference="main"