OPSEXP-3055 Refactor repository war downloads to use defaults #363
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: kics | |
on: | |
pull_request: | |
branches: [master] | |
paths: | |
- 'playbooks/**' | |
- 'roles/**' | |
- '.github/workflows/kics.yml' | |
push: | |
branches: [master] | |
paths: | |
- 'playbooks/**' | |
- 'roles/**' | |
- '.github/workflows/kics.yml' | |
permissions: | |
security-events: write | |
jobs: | |
kics: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run KICS Scan | |
uses: checkmarx/kics-github-action@5a6152ef88416063435cebadfec9de28bcfd041d # v2.1.4 | |
with: | |
path: 'playbooks,roles' | |
ignore_on_exit: results | |
output_path: report-dir/ | |
output_formats: 'sarif' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
enable_jobs_summary: true | |
platform_type: ansible | |
disable_secrets: true | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8 | |
with: | |
sarif_file: report-dir/results.sarif |