Files
kics-github-action/.github/workflows/test_action.yaml
Rogério Peixoto 740815773b fixing status code 0 handling
Signed-off-by: Rogério Peixoto <rogerio.peixoto@checkmarx.com>
2021-10-16 11:16:41 +01:00

26 lines
594 B
YAML

name: Test KICS action
on:
workflow_dispatch:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: mkdir -p myoutput
- name: Test KICS action
uses: ./
with:
path: test/samples/positive1.tf,test/samples/positive2.tf
token: ${{ secrets.GITHUB_TOKEN }}
timeout: 60
verbose: true
output_path: myoutput/
output_formats: sarif
ignore_on_exit: errors
enable_comments: true
- run: ls -la && ls -la myoutput
if: always()