Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dianashevchenko committed Nov 29, 2022
1 parent f6a2c53 commit 0ead559
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
- name: Comment results
uses: machine-learning-apps/pr-comment@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path: results.txt
run: |
if [ "$(govulncheck ./ddtrace/... | grep "Vulnerability #" | wc -l)" -gt 0 ]; then
exit 1
fi

0 comments on commit 0ead559

Please sign in to comment.