Skip to content

Commit 0ad2fd3

Browse files
feat: changed name on vulnerabilities file
1 parent 486ac05 commit 0ad2fd3

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,13 @@ jobs:
7676
- name: Audit installed packages
7777
id: audit-packages
7878
continue-on-error: true
79-
run: make --silent audit > vulnerabilities.txt
79+
run: make --silent audit > pip-audit-vulnerabilities.txt
8080

8181
# Upload the vulnerabilities file output.
8282
- name: Upload Artifact
83-
id: upload-audit-artifact
8483
uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb #v3.1.1
8584
with:
86-
name: vulnerabilities.txt
85+
name: pip-audit-vulnerabilities.txt
8786
path: .
8887
if-no-files-found: error
8988
retention-days: 1

.github/workflows/pr-change-set.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 #v3
3131
if: steps.audit-packages.outputs.exit_code == 1
3232
with:
33-
name: vulnerabilities.txt
33+
name: pip-audit-vulnerabilities.txt
3434

35-
- name: comment PR
35+
- name: Comment on PR
3636
id: comment-pr
37-
run: gh pr comment ${{ github.event.number }} --body-file vulnerabilities.txt
37+
run: gh pr comment ${{ github.event.number }} --body-file pip-audit-vulnerabilities.txt
3838
if: steps.audit-packages.outputs.exit_code == 1
3939
env:
4040
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,7 @@ dmypy.json
132132

133133
# Pyre type checker
134134
.pyre/
135+
136+
# pip audit vulnerabilities file
137+
138+
pip-audit-vulnerabilities.txt

0 commit comments

Comments
 (0)