Revert "[CI] Remove scan from ci-pr main"
This reverts commit 392081b43a.
This commit is contained in:
9
.github/workflows/ci-pr.yml
vendored
9
.github/workflows/ci-pr.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
if: ${{ github.base_ref != 'main' }}
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 17
|
||||
java-version: ${{ needs.parameters.outputs.jdk_build }}
|
||||
- name: 'Configure: Install GraalVM'
|
||||
if: ${{ github.base_ref == 'main' }}
|
||||
uses: graalvm/setup-graalvm@v1
|
||||
@@ -92,6 +92,13 @@ jobs:
|
||||
exit $RC
|
||||
fi
|
||||
fi
|
||||
- name: 'Configure: Install Trivy'
|
||||
uses: ./.github/actions/install-trivy
|
||||
- name: 'Action: Trivy scan'
|
||||
shell: bash
|
||||
run: |
|
||||
BUILD_DIR=$(realpath $MAIN_PATH)
|
||||
$BUILD_DIR/scan-folders.sh table
|
||||
- name: 'Upload: Error logs'
|
||||
if: ${{ failure() }}
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user