Skip to content

Commit

Permalink
disabled snyk checks for both PRs and main
Browse files Browse the repository at this point in the history
  • Loading branch information
enekofb committed Jul 7, 2023
1 parent 99f73fe commit 0d7b6e3
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,32 +93,6 @@ jobs:
- run: make fakes
- name: Check that make fakes has been run
run: git diff --no-ext-diff --exit-code
- uses: snyk/actions/setup@master
- name: Setup snyk prerequisities
run: |
npm install --global snyk-delta
- name: Look for new insecure dependencies or bad licenses
run: |
snyk test --org=product-engineering-ly9 --json --file=go.mod | snyk-delta
snyk test --org=product-engineering-ly9 --json --file=package-lock.json | snyk-delta
snyk test --org=product-engineering-ly9 --json --file=website/yarn.lock | snyk-delta
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
if: github.event_name == 'pull_request' && github.repository_owner == 'weaveworks'
- name: Monitor dependencies & license problems with Snyk
# Throw an error if the error is "snyk couldn't run".
# Don't throw an error on "there are vulnerabilities", those
# are notified separately
run: |
exit_code=0
snyk monitor --all-projects --org=product-engineering-ly9 || exit_code=$?
if [ $exit_code -gt 1 ]; then
exit $exit_code
fi
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
if: github.event_name == 'push'


ci-generate-tag:
name: CI Generate Image Tag
Expand Down

0 comments on commit 0d7b6e3

Please sign in to comment.