Skip to content

Commit 662a0cb

Browse files
authored
Update snyk-security.yml
Signed-off-by: David Osipov <[email protected]>
1 parent 07274ee commit 662a0cb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/snyk-security.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ jobs:
4343
with:
4444
snyk-version: latest
4545

46-
- name: Authenticate Snyk
47-
env:
48-
SNYK_TOKEN: ${{ secrets.SNYK_SECRET_TOKEN }}
49-
run: snyk auth SNYK_TOKEN --auth-type=token
50-
5146
- name: Set up Python
5247
uses: actions/setup-python@19e4675e06535f6b54e894da5c1f044400bb4996
5348
with:
@@ -71,6 +66,8 @@ jobs:
7166
# Runs Snyk Open Source (SCA) analysis and uploads result to Snyk.
7267
- name: Snyk Open Source monitor
7368
continue-on-error: true # To make sure that SARIF upload gets called
69+
env:
70+
SNYK_TOKEN: ${{ secrets.SNYK_SECRET_TOKEN }}
7471
run: snyk test --all-projects
7572

7673
# Push the Snyk Code results into GitHub Code Scanning tab

0 commit comments

Comments
 (0)