Merge pull request #56 from guardian/dependabot/github_actions/gradle… #33
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
# 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-mobile | |
SKIP_NODE: true | |
JAVA_VERSION: "17" | |
secrets: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |