feat: update android #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checkmarx AST scan | |
on: | |
[push, pull_request] | |
jobs: | |
pull_request_with_block: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Type scan | |
id: pull_request_scan | |
run : echo "Run on" ${{ github.event_name }} | |
- name: Checkmarx One - Check vulnerabilities with block | |
uses: checkmarx/ast-github-action@main #Github Action version | |
with: | |
project_name: ${{ github.repository }} | |
cx_tenant: ${{ secrets.CHECKMARX_TENANT_NAME }} | |
base_uri: ${{ secrets.CHECKMARX_BASE_URI }} | |
cx_client_id: ${{ secrets.CHECKMARX_CLIENT_ID }} | |
cx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }} | |
additional_params: ${{ secrets.CHECKMARX_SCAN_PARAMETER_ON_PR }} | |
push_scan: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Type scan | |
id: pull_scan | |
run : echo "Run on" ${{ github.event_name }} | |
- name: Checkmarx One - Check vulnerabilities without block | |
uses: checkmarx/ast-github-action@main #Github Action version | |
with: | |
project_name: ${{ github.repository }} | |
cx_tenant: ${{ secrets.CHECKMARX_TENANT_NAME }} | |
base_uri: ${{ secrets.CHECKMARX_BASE_URI }} | |
cx_client_id: ${{ secrets.CHECKMARX_CLIENT_ID }} | |
cx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }} | |
additional_params: ${{ secrets.CHECKMARX_SCAN_PARAMETER_ON_PUSH }} |