Skip to content

Commit

Permalink
Update runSnykScan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PetreStegaroiu authored Jan 30, 2025
1 parent e2791d9 commit da88486
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/runSnykScan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
SNYK_API_KEY: ${{secrets[github.event.inputs.SNYK_API_KEY]}}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -24,7 +26,7 @@ jobs:
run: |
cd scan
set -e
npx snyk auth ${{ inputs.SNYK_API_KEY }}
npx snyk auth ${{ env.SNYK_API_KEY }}
declare -a directoriesToScan=(
src
pkg
Expand Down

0 comments on commit da88486

Please sign in to comment.