Loading .github/workflows/ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,23 @@ 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 - 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 Loading srcclr.yml 0 → 100644 +3 −0 Original line number Diff line number Diff line # To avoid the provided dependencies we set the scope to runtime. See: https://docs.veracode.com/r/c_sc_scan_directives # runtime: to restrict the scan to compile and runtime dependencies. scope: runtime No newline at end of file Loading
.github/workflows/ci.yml +17 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,23 @@ 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 - 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 Loading
srcclr.yml 0 → 100644 +3 −0 Original line number Diff line number Diff line # To avoid the provided dependencies we set the scope to runtime. See: https://docs.veracode.com/r/c_sc_scan_directives # runtime: to restrict the scan to compile and runtime dependencies. scope: runtime No newline at end of file