Skip to content

Commit

Permalink
Merge pull request #367 from mountaindude/master
Browse files Browse the repository at this point in the history
Tweak Snyk scanning during CI
  • Loading branch information
mountaindude authored Feb 19, 2022
2 parents 535ed0f + 5d72264 commit 834daca
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ jobs:
fork: false
clean: true

- name: Run Snyk to check for vulnerabilities
if: github.repository_owner == 'ptarmiganlabs'
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor

- name: Show output from Release-Please
if: ${{ steps.release.outputs.release_created }}
run: |
Expand All @@ -54,9 +46,18 @@ jobs:
echo "pr: ${{ steps.release.outputs.pr }}"
- name: Checkout repository
if: ${{ steps.release.outputs.release_created }}
if: github.repository_owner == 'ptarmiganlabs'
uses: actions/checkout@v2

- name: Run Snyk to check for vulnerabilities
if: github.repository_owner == 'ptarmiganlabs'
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor

- name: Install dependencies
if: ${{ steps.release.outputs.release_created }}
run: |
Expand Down

0 comments on commit 834daca

Please sign in to comment.