Skip to content

Commit 6554a60

Browse files
mfourniouxgsolard
andauthored
upgrade version of upload artifact action (#8)
* upgrade version of upload artifact action * Added overwrite --------- Co-authored-by: Gautier Solard <[email protected]>
1 parent 18f263d commit 6554a60

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/vulnerability.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@ jobs:
3333
# Run bandit
3434
bandit -r src -c pyproject.toml -o bandit_outputs.txt -f txt --skip B311
3535
- name: Archive bandit outputs
36-
uses: actions/upload-artifact@v3
36+
uses: actions/upload-artifact@v4
3737
with:
3838
name: bandit_outputs
3939
path: bandit_outputs.txt
4040
retention-days: 2
41+
overwrite: true
4142
- name: Run safety
4243
run: |
4344
pip install -r requirements.txt
4445
pip install safety
4546
safety check --output text --continue-on-error > insecure_report.txt
4647
- name: Archive safety outputs
47-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
4849
with:
4950
name: safety_outputs
5051
path: |
5152
insecure_report.txt
5253
retention-days: 2
54+
overwrite: true

0 commit comments

Comments
 (0)