Skip to content

Commit

Permalink
[ACS-7475] added SCA in workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
code4uuuu committed Apr 4, 2024
1 parent 4f70d0f commit a7975a8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,25 @@ jobs:
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v1.35.0

veracode_sca:
name: "Veracode - Source Clear Scan (SCA)"
runs-on: ubuntu-latest
if: >
github.ref_name == 'master' ||
github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.34.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.34.0
with:
java-version: '17'
- name: "Clean-up SNAPSHOT artifacts"
run: find "${HOME}/.m2/repository/" -type d -name "*-SNAPSHOT*" | xargs -r -l rm -rf
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v1.34.0
continue-on-error: true
with:
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}

build:
name: "Build application"
runs-on: ubuntu-latest
Expand Down

0 comments on commit a7975a8

Please sign in to comment.