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

Add snyk monitoring #198

Closed
wants to merge 1 commit into from
Closed
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
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-security
SKIP_NODE: false
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}