name: CRDs on: push: branches: - main paths: - 'apis/**' pull_request: paths: - 'apis/**' workflow_dispatch: {} permissions: contents: read jobs: crd-tests: runs-on: ubuntu-latest steps: - uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 with: egress-policy: audit - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 0 - name: Generate crds for testing run: make crds.generate.tests - name: Run crd tests run: make test.crds