Skip to content

Unit Tests: limit warnings, fix racing #6564

Unit Tests: limit warnings, fix racing

Unit Tests: limit warnings, fix racing #6564

Workflow file for this run

name: KubeLinter
on:
push:
paths:
- 'chart/k8gb/**'
pull_request:
branches:
- master
paths-ignore:
- 'chart/k8gb/**'
permissions:
contents: read
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4f3f445f343c08c93d7771433e8dee4267e05b9
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62
- name: Create ../results directory for sarif files
shell: bash
run: mkdir -p ../results
- name: Scan k8gb chart
id: kube-lint-repo
uses: stackrox/kube-linter-action@e5759fab01e612c139fe23f264820ba0cf73320c
with:
directory: chart/k8gb
version: 0.2.5
format: sarif
output-file: ../results/kube-linter.sarif
- name: Upload sarif output to GitHub
uses: github/codeql-action/upload-sarif@8f1a6fed33af5212fab8a999d004627ae8901d1b
continue-on-error: true