fix linter paths

This commit is contained in:
Lee 2024-09-24 06:51:22 +01:00
parent 9909e7fa73
commit 602155cf53

@ -4,10 +4,10 @@ on:
push: push:
branches: [main, master] branches: [main, master]
paths: paths:
- "kubernetes/apps/**" - "kubernetes/apps/production/**"
pull_request: pull_request:
paths: paths:
- "kubernetes/apps/**" - "kubernetes/apps/production/**"
jobs: jobs:
scan: scan:
@ -37,4 +37,4 @@ jobs:
- name: Scan yaml files with kube-linter - name: Scan yaml files with kube-linter
run: | run: |
kube-linter lint ./kubernetes/apps --config kubelinter-config.yaml kube-linter lint ./kubernetes/apps/production --config kubelinter-config.yaml