chore(deps): update rancher/k3s docker tag to v1.31.2 #8522
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: | |
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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- 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@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4 | |
continue-on-error: true |