Skip to content

Commit

Permalink
feat: changed name on vulnerabilities file
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-getpassport committed Nov 16, 2022
1 parent 486ac05 commit 0ad2fd3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,13 @@ jobs:
- name: Audit installed packages
id: audit-packages
continue-on-error: true
run: make --silent audit > vulnerabilities.txt
run: make --silent audit > pip-audit-vulnerabilities.txt

# Upload the vulnerabilities file output.
- name: Upload Artifact
id: upload-audit-artifact
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb #v3.1.1
with:
name: vulnerabilities.txt
name: pip-audit-vulnerabilities.txt
path: .
if-no-files-found: error
retention-days: 1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-change-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 #v3
if: steps.audit-packages.outputs.exit_code == 1
with:
name: vulnerabilities.txt
name: pip-audit-vulnerabilities.txt

- name: comment PR
- name: Comment on PR
id: comment-pr
run: gh pr comment ${{ github.event.number }} --body-file vulnerabilities.txt
run: gh pr comment ${{ github.event.number }} --body-file pip-audit-vulnerabilities.txt
if: steps.audit-packages.outputs.exit_code == 1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,7 @@ dmypy.json

# Pyre type checker
.pyre/

# pip audit vulnerabilities file

pip-audit-vulnerabilities.txt

0 comments on commit 0ad2fd3

Please sign in to comment.