-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from dedis/feature/add-snyk
Feature/add snyk
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
# A sample workflow which checks out the code, builds a container | ||
# image using Docker and scans that image for vulnerabilities using | ||
# Snyk. The results are then uploaded to GitHub Security Code Scanning | ||
# | ||
# For more examples, including how to limit scans to only high-severity | ||
# issues, monitor images for newly disclosed vulnerabilities in Snyk and | ||
# fail PR checks for new vulnerabilities, see https://github.com/snyk/actions/ | ||
|
||
name: Snyk workflow with no block | ||
on: push | ||
jobs: | ||
security: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: install Snyk CLI | ||
run: npm install -g snyk | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
- name: run Snyk Open Source Test | ||
run: snyk test | ||
continue-on-error: true | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |