This repository has been archived by the owner on Jan 20, 2025. It is now read-only.
Veracode upload and scan #300
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Veracode upload and scan" | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths: | |
- 'src/**' | |
- 'package.json' | |
- 'Dockerfile' | |
schedule: | |
# Once a day | |
- cron: "0 0 * * *" | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
repository: '' | |
- run: zip -r veracode-scan-target.zip ./ | |
- name: Run Veracode Upload And Scan | |
uses: veracode/[email protected] | |
with: | |
appname: "product-vas-country-risk-frontend" | |
createprofile: false | |
filepath: "./veracode-scan-target.zip" | |
vid: "${{ secrets.VERACODE_API_ID }}" | |
vkey: "${{ secrets.VERACODE_API_KEY }}" |