update kubeconform.yml to specify exact path for crd.yml exclusion

This commit is contained in:
2025-12-12 23:21:20 +05:30
parent afaf34bd03
commit 43eb949c42

View File

@@ -6,7 +6,7 @@ on:
- '**.yml' - '**.yml'
- '**.yaml' - '**.yaml'
- '!.gitea/workflows/**' - '!.gitea/workflows/**'
- '!clusters/**/system-upgrade/crd.yml' - '!clusters/default/system-upgrade/crd.yml'
jobs: jobs:
kubeconform: kubeconform:
@@ -39,7 +39,7 @@ jobs:
files: | files: |
**.yml **.yml
!.gitea/workflows/** !.gitea/workflows/**
!clusters/**/system-upgrade/crd.yml !clusters/default/system-upgrade/crd.yml
- name: Validate Manifests - name: Validate Manifests
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'