Checkmarx / ast-github-action

Checkmarx application security testing (AST) GitHub action
https://github.com/marketplace/actions/checkmarx-ast-github-action
Apache License 2.0
16 stars 23 forks source link

[BUG] Launch scan on push code event not working #30

Closed alex46300 closed 2 years ago

alex46300 commented 2 years ago

Describe the bug

When I commit code on the master branch, the scan does not start. On the other hand, the scan starts perfectly when I create a PR.

Steps to reproduce

Part of workflow.yml

name: Checkmarx AST Scan  
on:
  pull_request:
    types: [opened, reopened, synchronize] #Types specify which pull request events will trigger the workflow. For more events refer Github Actions documentation.
  push:
    branches:
      - main
      - master
      - dev
pedrompflopes commented 2 years ago

@alex46300 Please check the documentation below on how to trigger a github action. documentation

It depends on your use case, but if you want to trigger every PR or push, you can use the following configuration

on: [push, pull_request]

I will close this issue because it is not related to our action.

Thanks.

alex46300 commented 2 years ago

Thanks for your response @pedrompflopes The problem does not come from there. The github-action was well launched and successful but nothing appeared in the AST platform. The problem come from additinal_params that not working but I opened an other issue for this problem.

pedrompflopes commented 2 years ago

@alex46300 I added a comment to the other issue #28 . Please have a look.