fix: removes label selector from old e2e tests #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |