From f3996fc6325e252143106f7b255f4363f515647c Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Wed, 3 Dec 2025 12:59:11 +0530 Subject: [PATCH] exclude actions folder and add missing \ --- .gitea/workflows/kubeconform.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/kubeconform.yml b/.gitea/workflows/kubeconform.yml index bf441b2..a8374d3 100644 --- a/.gitea/workflows/kubeconform.yml +++ b/.gitea/workflows/kubeconform.yml @@ -18,11 +18,14 @@ jobs: git clone https://gitea.akshun-lab.cc/aggarwalakshun/k3s.git /mnt - name: Validate Manifests run: | - find /mnt -type f \( -iname "*.yml" \) -print0 \ - | xargs -0 --no-run-if-empty kubeconform -verbose -summary \ + find /mnt -type f \( -name "*.yml" -o -name "*.yaml" \) \ + -not -path "*/.gitea/*" \ + -print0 | xargs -0 --no-run-if-empty kubeconform \ + -verbose \ + -summary \ -schema-location default \ -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/bitnami.com/sealedsecret_v1alpha1.json' \ - -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/helm.toolkit.fluxcd.io/helmrelease_v2.json' + -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/helm.toolkit.fluxcd.io/helmrelease_v2.json' \ -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/metallb.io/ipaddresspool_v1beta1.json' \ -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/metallb.io/l2advertisement_v1beta1.json' \ -schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/source.toolkit.fluxcd.io/helmrepository_v1.json'