We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5376040 + b8b3e4f commit 702a4a8Copy full SHA for 702a4a8
.github/workflows/veracode-policy-scan.yml
@@ -68,6 +68,10 @@ jobs:
68
name: veracode-artifact
69
path: ./veracode_artifact_directory
70
71
+ - name: set version
72
+ run: |
73
+ echo "VERSION=${{ github.run_id }}-$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_ENV
74
+
75
# run the policy scan action
76
- name: Veracode Upload and Scan Action Step
77
uses: veracode/[email protected]
@@ -76,12 +80,12 @@ jobs:
80
appname: ${{ inputs.profile_name }}
81
createprofile: true
78
82
policy: ${{ inputs.policy_name }}
79
- version: '${{ github.run_id }}'
83
+ version: '${{ env.VERSION }}'
84
filepath: ./veracode_artifact_directory/
85
vid: '${{ secrets.VERACODE_API_ID }}'
86
vkey: '${{ secrets.VERACODE_API_KEY }}'
87
#scanpollinginterval: 30
- scantimeout: 15
88
+ scantimeout: 30
89
# include: ${{ inputs.modules_to_scan }}
90
failbuild: ${{ inputs.break_build_policy_findings }}
91
0 commit comments