• jay2 (Community Member)

    We can use github actions matrix strategy. Refer https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs for more details

     

    We can pass the list of apps to be scanned as matrix outputs and then perform the veracode scanning in the second job. For eg

     

    Refer attached file for sample code. This editor does not allow code to be entered neatly as the text gets wrapped.

     

    When the github action runs, it will spin off 3 separate runners which will scan those multiple apps accordingly. All those apps will be scanned in parallel as well.

     

    Thank you.

    Expand Post
    • veracode_community_post
  • jay2 (Community Member)

    When using github matrix, set fail-fast to false. Default is true. With that strategy, when one job will be failed, all other jobs will be cancelled. Hence set it to false.

     

    strategy:

    fail-fast: false

    matrix:

    Expand Post

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.