run kubeconform workflow on push
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
name: Validate Kubernetes Manifests
|
name: Validate Kubernetes Manifests
|
||||||
|
|
||||||
on: pull_request
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- '**.yml'
|
||||||
|
- '**.yaml'
|
||||||
|
- '!.gitea/workflows/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
kubeconform:
|
kubeconform:
|
||||||
@@ -19,6 +24,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
**.yml
|
**.yml
|
||||||
|
**.yaml
|
||||||
!.gitea/workflows/**
|
!.gitea/workflows/**
|
||||||
!clusters/default/system-upgrade/crd.yml
|
!clusters/default/system-upgrade/crd.yml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user