Skip to content

Commit

Permalink
Add Snyk workflow (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwinch committed Feb 28, 2022
1 parent 622ab08 commit e51819f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
cache: 'yarn'
cache-dependency-path: 'cdk/yarn.lock'
node-version-file: 'cdk/.nvmrc'
node-version-file: '.nvmrc'
- uses: actions/setup-java@v2
with:
java-version: '11'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Snyk

on:
schedule:
- cron: '0 6 * * *'
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
security:
uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main
with:
ORG: 'guardian-devtools'
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
File renamed without changes.
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.8.0")
addSbtPlugin("com.gu" % "sbt-riffraff-artifact" % "1.1.18")
libraryDependencies += "org.vafer" % "jdeb" % "1.3" artifacts Artifact("jdeb", "jar", "jar")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")

0 comments on commit e51819f

Please sign in to comment.