Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/snyk-security.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Snyk Security
on:
push:
branches:
- main

jobs:
snyk-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- 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: |
git fetch origin 'refs/tags/*:refs/tags/*'
git checkout main
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"
list_of_released_tags=("v0.19.1" "v0.2000.0" "v0.22.0")
for project in "${list_of_released_tags[@]}"; do
echo "Scanning project: codeflare-sdk/$project"
git checkout $project
snyk monitor --all-projects --exclude=requirements.txt --org=${SNYK_ORG} --target-reference="$(git describe --tags)"
done
2 changes: 1 addition & 1 deletion ui-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "Project Jupyter",
"license": "BSD-3-Clause",
"devDependencies": {
"@jupyterlab/galata": "^5.0.1",
"@jupyterlab/galata": "^5.3.0",
"@playwright/test": "^1.48.2",
"yarn-deduplicate": "^6.0.1"
}
Expand Down
Loading
Loading