feat: add kubeconform workflow and make kubeconform/kustomize required (#1159)

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-15 09:42:50 -05:00
1 parent e6fbc6e128
commit ea31a49817
7 files changed
+43 -5

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
---
name: "Kubeconform"
on:
pull_request:
branches: ["main"]
paths: ["kubernetes/**"]
env:
KUBERNETES_DIR: ./kubernetes
jobs:
kubeconform:
name: Kubeconform
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Setup Workflow Tools
run: brew install fluxcd/tap/flux kubeconform kustomize
- name: Run kubeconform
shell: bash
run: ./.github/scripts/kubeconform.sh ${{ env.KUBERNETES_DIR }}