Skip to content

Commit 1bae092

Browse files
fix: update pre-scan commands to include skip-unresolved argument and clean up installation steps
1 parent de223ce commit 1bae092

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/sca_scan.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,9 @@ jobs:
88
snyk-cli:
99
uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main
1010
with:
11-
additional-arguments: "--exclude=README.md,.jfrog"
11+
additional-arguments: "--exclude=README.md,.jfrog --skip-unresolved"
1212
python-version: "3.10"
1313
pre-scan-commands: |
14-
echo "Current directory: $(pwd)"
1514
python3 -m venv venv --upgrade-deps
16-
source venv/bin/activate
17-
pip3 install -r requirements.txt
18-
echo "---"
19-
echo "Installed packages:"
20-
pip3 list
15+
./venv/bin/pip3 install -r <path_to_requirements>/requirements.txt
2116
secrets: inherit

0 commit comments

Comments
 (0)