Skip to content

Commit 702a4a8

Browse files
authored
Merge pull request #59 from veracode/REPO-763-769-increase-policy-scan-timeout-and-fix-rerun
REPO-763, REPO-769 increase policy scan timeout and fix rerun
2 parents 5376040 + b8b3e4f commit 702a4a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/veracode-policy-scan.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ jobs:
6868
name: veracode-artifact
6969
path: ./veracode_artifact_directory
7070

71+
- name: set version
72+
run: |
73+
echo "VERSION=${{ github.run_id }}-$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_ENV
74+
7175
# run the policy scan action
7276
- name: Veracode Upload and Scan Action Step
7377
uses: veracode/[email protected]
@@ -76,12 +80,12 @@ jobs:
7680
appname: ${{ inputs.profile_name }}
7781
createprofile: true
7882
policy: ${{ inputs.policy_name }}
79-
version: '${{ github.run_id }}'
83+
version: '${{ env.VERSION }}'
8084
filepath: ./veracode_artifact_directory/
8185
vid: '${{ secrets.VERACODE_API_ID }}'
8286
vkey: '${{ secrets.VERACODE_API_KEY }}'
8387
#scanpollinginterval: 30
84-
scantimeout: 15
88+
scantimeout: 30
8589
# include: ${{ inputs.modules_to_scan }}
8690
failbuild: ${{ inputs.break_build_policy_findings }}
8791

0 commit comments

Comments
 (0)