Skip to content

Commit

Permalink
Update secure-code-archive.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ejreyes-ugr authored Sep 14, 2024
1 parent 4edb064 commit 6af9e13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/secure-code-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
sarif_file: snyk.sarif

# Condicional para archivar el código solo si no se encuentran vulnerabilidades críticas o severas
- name: Create ZIP Archive if Snyk passed
if: success() # Solo si todos los pasos anteriores son exitosos
uses: actions/archive@v2
- name: Create zip
if: success() # Solo si los pasos anteriores fueron exitosos
uses: ihiroky/archive-action@v1
with:
path: ./ # Directorio raíz
format: zip
name: secure-code.zip
root_dir: ./ # Este es el directorio raíz
file_path: secure-code.zip # nombre y la ruta del archivo ZIP

0 comments on commit 6af9e13

Please sign in to comment.