Skip to content

Commit

Permalink
ACS-6304 Check only share
Browse files Browse the repository at this point in the history
  • Loading branch information
mikolajbrzezinski committed Nov 30, 2023
1 parent ca54acd commit e64e6e7
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,46 +60,7 @@ jobs:
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh

veracode_sast_acs:
name: "Pipeline SAST Scan - ACS"
runs-on: ubuntu-latest
if: >
((github.ref_name == 'master' || startsWith(github.ref_name, 'release/') || github.event_name == 'pull_request')) &&
!contains(github.event.head_commit.message, '[skip tests]')
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Run SAST Scan"
uses: veracode/[email protected]
with:
vid: '${{ secrets.VERACODE_API_ID }}'
vkey: '${{ secrets.VERACODE_API_KEY }}'
file: "distribution/target/alfresco.war"
fail_build: true
project_name: acs-packaging-acs
issue_details: true
veracode_policy_name: Alfresco Default
summary_output: true
summary_output_file: readable_results_acs.txt
summary_display: true
- name: Upload scan result
if: success() || failure()
run: zip readable_output.zip readable_results_acs.txt
- name: Upload Artifact
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: Veracode Pipeline-Scan Results - ACS (Human Readable)
path: readable_output.zip
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh


veracode_sast_share:
name: "Pipeline SAST Scan - Share"
Expand Down

0 comments on commit e64e6e7

Please sign in to comment.