Skip to content

Commit

Permalink
chore: Update Debricked vulnerability scan configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagoda11 committed May 21, 2024
1 parent d5ea6ef commit 8c456a3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:

jobs:
build: # 🏗️ Build Job
runs-on: ubuntu-latest # 🐧 Using the latest Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x] # 📦 Test across Node.js versions 20.x and 21.x
node-version: [20.x, 21.x]
steps:
- name: 📥 Checkout code
uses: actions/checkout@v3
Expand All @@ -33,7 +33,9 @@ jobs:
echo "::add-mask::${{ secrets.DEBRICKED_USERNAME }}"
echo "::add-mask::${{ secrets.DEBRICKED_PASSWORD }}"
- name: 🛡️ Debricked Vulnerability Scan
run: |
curl -s https://app.debricked.com/api/v1/cli/download -o debricked-cli.phar
chmod +x debricked-cli.phar
./debricked-cli.phar ci:upload --username ${{ secrets.DEBRICKED_USERNAME }} --password ${{ secrets.DEBRICKED_PASSWORD }} --repository ${{ github.repository }} --commit ${{ github.sha }}
uses: debricked/actions/scan@v1
with:
username: ${{ secrets.DEBRICKED_USERNAME }}
password: ${{ secrets.DEBRICKED_PASSWORD }}
repository: ${{ github.repository }}
commit: ${{ github.sha }}

0 comments on commit 8c456a3

Please sign in to comment.