-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mettre à jour le workflow Kubelinter pour ajouter une analyse en form…
…at txt et télécharger les résultats
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,14 @@ jobs: | |
format: sarif | ||
output-file: kube-linter-results.sarif | ||
|
||
- name: Scan repo with kube-linter as txt | ||
continue-on-error: true | ||
uses: stackrox/[email protected] | ||
with: | ||
directory: . | ||
format: txt | ||
output-file: kube-linter-results.txt | ||
|
||
- name: Cat results | ||
run: cat kube-linter-results.sarif | ||
|
||
|
@@ -30,3 +38,10 @@ jobs: | |
with: | ||
sarif_file: kube-linter-results.sarif | ||
category: 'KubeLinter' | ||
|
||
|
||
- name: upload txt results to GitHub | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: kube-linter-results | ||
path: kube-linter-results.txt |