Merge pull request #1433 from guardian/update-source-dev-kitchen #1700
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 Snyk Monitor on every push to main | |
name: Snyk | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v2 | |
- name: Update Snyk UI with current vulnerabilities | |
uses: snyk/actions/[email protected] | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: monitor | |
args: --org=guardian-value --project-name=${{ github.repository }} --file=./yarn.lock |