Skip to content

chore(deps): update https://github.com/konflux-ci/integration-service digest to caf6fe6 #54

chore(deps): update https://github.com/konflux-ci/integration-service digest to caf6fe6

chore(deps): update https://github.com/konflux-ci/integration-service digest to caf6fe6 #54

Workflow file for this run

name: Static code checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
merge_group:
types: [checks_requested]
jobs:
kube-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create ./.kube-linter/ directory
shell: bash
run: mkdir -p ./.kube-linter/
- name: Generate default configuration
shell: bash
run: |
# workaround: create dummy patch for building the manifests for kube-linter
cp dependencies/smee/smee-channel-id.tpl dependencies/smee/smee-channel-id.yaml
find . -name "kustomization.yaml" -o -name "kustomization.yml" | while read -r file; do
dir=$(dirname "$file")
dir=${dir#./}
output_file=$(echo "out-$dir" | tr "/" "-")
kustomize build "$dir" > "./.kube-linter/$output_file.yaml"
done
- name: Scan yaml files with kube-linter
uses: stackrox/kube-linter-action@v1
id: kube-linter-action-scan
with:
directory: ./.kube-linter/
config: ./.github/.kube-linter-config.yaml