We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9af07a0 commit 0419455Copy full SHA for 0419455
.github/workflows/snyk-security.yaml
@@ -3,6 +3,7 @@ on:
3
push:
4
branches:
5
- main
6
+ - test-odh-notebooks-sync
7
8
jobs:
9
snyk-scan:
@@ -21,9 +22,11 @@ jobs:
21
22
run: |
23
echo "Fetching tags"
24
git fetch origin 'refs/tags/*:refs/tags/*'
-
25
echo "Authenticating with Snyk"
26
snyk auth ${SNYK_TOKEN}
27
28
- echo "Scanning project: codeflare-sdk/main"
29
- snyk monitor --all-projects --exclude=requirements.txt --org=${SNYK_ORG} --target-reference="main"
+ list_of_released_tags=("v0.23.1")
+ for project in "${list_of_released_tags[@]}"; do
+ echo "Scanning project: codeflare-sdk/$project"
30
+ git checkout $project
31
+ snyk monitor --all-projects --exclude=requirements.txt --org=${SNYK_ORG} --target-reference="$(git describe --tags)"
32
+ done
0 commit comments