Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/snyk-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Snyk Scan
on:
push:
branches:
- main

jobs:
security:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Install Snyk
run: |
curl https://static.snyk.io/cli/latest/snyk-linux -o snyk
chmod +x ./snyk
mv ./snyk /usr/local/bin/

- name: Run Snyk to check for vulnerabilities
run: snyk monitor --org=development-infrastructure-and-operations-dio --project-name=${{ github.repository }}
env:
SNYK_TOKEN: ${{ secrets.SNYK_DIO_KEY }}