Skip to content

Only verify for YAML manifest changes #169

Only verify for YAML manifest changes

Only verify for YAML manifest changes #169

name: Validate Manifests
on:
pull_request:
push:
branches:
- master
paths:
- '**/*.yaml'
- '**/*.yml'
jobs:
build:
name: Validate Manifests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Kubeconform
uses: bmuschko/setup-kubeconform@v1
- name: Validate Against Kubernetes Schema
run: kubeconform -kubernetes-version=1.29.1 -ignore-filename-pattern=.github/workflows -ignore-filename-pattern=.json$ -ignore-filename-pattern=exercises/15-helm-build-chart -ignore-filename-pattern=exercises/16-api-deprecation/deployment.yaml -ignore-filename-pattern=exercises/20-crd -ignore-filename-pattern=exercises/25-configmap/application.yaml -summary .