name: infra-ci on: push: branches: - main - "feat/**" pull_request: jobs: manifests: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 # The runner image has python3 but neither pip nor PyYAML. - name: Install validation dependency run: | if ! python3 -c 'import yaml' 2>/dev/null; then apt-get update -qq apt-get install -y -qq python3-yaml fi # Cluster-free guardrails: namespace-only kinds, numeric UIDs, # securityContext, probes, resources, env/Secret refs, image tags, Services. - name: Static manifest guardrails run: make gate1-check STATIC_ONLY=1 # Falls back to YAML parsing when kubectl or a cluster is unavailable. - name: YAML parse or client dry-run run: make validate