OPSEXP-3058 Move supported_os vars to version specific vars file #209
Workflow file for this run
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@6e5455904168f98c75d8e5ad848b4dc4ab3ae77e # v3.28.7 | |
with: | |
sarif_file: report-dir/results.sarif |