Skip to content

Update cxone.yml

Update cxone.yml #4

Workflow file for this run

name: Checkmarx One Scan
on:
# push:
# # branches: [ dev, main, master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ dev, main, master ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:

Check failure on line 14 in .github/workflows/cxone.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cxone.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- name: Checkout
uses: actions/checkout@v2
- name: Checkmarx One CLI Action
uses: checkmarx/ast-github-action@main #Github Action version
with:
project_name: test-gha
cx_tenant: sap-staging
base_uri: https://checkmarx-stage.tools.sap
cx_client_id: ${{ secrets.CX_CLIENT_ID }}
cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
additional_params: --debug --report-format sarif --output-path .
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cx_result.sarif