Skip to content

Merge pull request #6477 from guardian/turn-off-link #3203

Merge pull request #6477 from guardian/turn-off-link

Merge pull request #6477 from guardian/turn-off-link #3203

Workflow file for this run

name: Snyk
on:
push:
branches:
- main
workflow_dispatch:
# Having 2 jobs here is a hack because this project's sbt build is set up to aggregate
# sub-projects which depend on the parent LibraryVersions.scala. To exclude the sub-projects,
# but still scan yarn.lock, we have to run 2 jobs because --excludes does not allow specifying
# a path, only a directory or filename(!) and we don't recommend/allow --file
jobs:
security-sbt:
uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main
with:
DEBUG: true
ORG: guardian-portfolio-and-platform
SKIP_NODE: true
EXCLUDE: stripe-patrons-data,support-config,support-frontend,support-internationalisation,support-lambdas,support-models,support-modules,support-payment-api,support-services,support-workers,supporter-product-data
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
security-yarn:
uses: guardian/.github/.github/workflows/sbt-node-snyk.yml@main
with:
DEBUG: true
ORG: guardian-portfolio-and-platform
SKIP_SBT: true
EXCLUDE: build.sbt
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}