Skip to content

fix: removes label selector from old e2e tests #9

fix: removes label selector from old e2e tests

fix: removes label selector from old e2e tests #9

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"