diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2dca3bba1..055630bb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,26 +31,26 @@ env: S3_BUCKET_REGION: "eu-west-1" jobs: - pre_commit: - runs-on: ubuntu-latest - outputs: - java_version: ${{ env.JAVA_VERSION }} - java_version_supported_by_repo: ${{ env.JAVA_VERSION_SUPPORTED_BY_REPO }} - steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.8.0 - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - id: changed-files - uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v8.8.0 - with: - write-list-to-env: true - - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.8.0 + # pre_commit: + # runs-on: ubuntu-latest + # outputs: + # java_version: ${{ env.JAVA_VERSION }} + # java_version_supported_by_repo: ${{ env.JAVA_VERSION_SUPPORTED_BY_REPO }} + # steps: + # - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.8.0 + # - uses: actions/checkout@v4 + # with: + # fetch-depth: 0 + # - id: changed-files + # uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v8.8.0 + # with: + # write-list-to-env: true + # - uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.8.0 veracode_sca: name: "Veracode - Source Clear Scan (SCA)" - needs: - - pre_commit + # needs: + # - pre_commit runs-on: ubuntu-latest if: > (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') || github.event_name == 'schedule' || github.event_name == 'pull_request' || github.actor == 'dependabot[bot]') && @@ -66,8 +66,8 @@ jobs: veracode_sast: name: "Pipeline SAST Scan" - needs: - - pre_commit + # needs: + # - pre_commit runs-on: ubuntu-latest if: > (github.ref_name == 'master' || startsWith(github.ref_name, 'release/') || github.event_name == 'pull_request' || github.event_name == 'schedule') && @@ -77,6 +77,7 @@ jobs: - uses: actions/checkout@v4 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.8.0 - uses: Alfresco/alfresco-build-tools/.github/actions/github-download-file@v8.8.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v8.8.0 with: token: ${{ secrets.BOT_GITHUB_TOKEN }} repository: "Alfresco/veracode-baseline-archive"