Skip to content

feat: transform repo toward a platform-as-product operating model #2

feat: transform repo toward a platform-as-product operating model

feat: transform repo toward a platform-as-product operating model #2

name: app-gitops-guardrails
on:
pull_request:
branches: [ main ]
paths:
- 'applications/**'
- '.github/workflows/app-gitops-guardrails.yml'
permissions:
contents: read
jobs:
app-policy-checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Kubernetes manifests with kubeconform
run: |
curl -sSL -o kubeconform.tar.gz \
https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz
tar -xzf kubeconform.tar.gz kubeconform
./kubeconform -strict -summary applications/gitops/base/**/*.yaml || true
- name: Policy test placeholder (OPA/Kyverno)
run: |
echo "Run conftest / kyverno CLI checks here"