Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #42 from guardian/nori/add-snyk-monitoring-2
Browse files Browse the repository at this point in the history
Add snyk monitoring
  • Loading branch information
jorgeazevedo committed May 30, 2022
2 parents b4fdf9b + 98160ff commit b32e380
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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:
schedule:
- cron: '0 6 * * *'
push:
branches:
- main
workflow_dispatch:

jobs:
security:
uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main
with:
DEBUG: true
ORG: guardian-devtools
SKIP_NODE: true
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit b32e380

Please sign in to comment.