Skip to content

Commit

Permalink
Fixed authentication to match synk documentation instructions for CI/…
Browse files Browse the repository at this point in the history
…CD pipelines
  • Loading branch information
Baighasan committed Jan 12, 2025
1 parent 701eca5 commit c7d6b80
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ jobs:
chmod +x ./synk
mv ./synk /usr/local/bin/
- name: Authenticate Synk
- name: Authenticate and Run Synk Vulnerability Test
env:
SYNK_TOKEN: ${{ secrets.SYNK_TOKEN }}
run: |
export SYNK_TOKEN=$SYNK_TOKEN
synk auth
- name: Run Synk Vulnerability Test
run: synk test
run: SYNK_TOKEN=$SYNK_TOKEN synk test

0 comments on commit c7d6b80

Please sign in to comment.