Mettre à jour l'action de téléchargement de SARIF dans le workflow Ku… #11
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: Kubelinter on Dev Branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
kubelinter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Scan repo with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: . | |
format: sarif | |
output-file: kube-linter.sarif | |
- name: Upload SARIF report | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: kube-linter.sarif | |
- name: Upload SARIF report | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: kube-linter-report.sarif |