This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #7 from guardian/nori/add-snyk
chore: Add snyk monitoring for main branch
- Loading branch information
Showing
2 changed files
with
23 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,20 @@ | ||
# This action runs every day at 6 AM and on every push | ||
# If the branch it's running on is main then it will run snyk monitor (reports vulnerabilities to snyk.io) | ||
# Otherwise it will run snyk test | ||
name: Snyk | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
security: | ||
uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main | ||
with: | ||
DEBUG: true | ||
ORG: guardian-capi | ||
SKIP_NODE: true | ||
secrets: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |
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