Skip to content

CRD Sync Validation #446

CRD Sync Validation

CRD Sync Validation #446

Workflow file for this run

name: CRD Sync Validation
on:
schedule:
# every midnight
- cron: '0 0 * * *'
defaults:
run:
shell: bash
working-directory: governance-policy-addon-controller
jobs:
crd-sync-validation:
runs-on: ubuntu-latest
name: CRD Sync Validation
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: governance-policy-addon-controller
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: governance-policy-addon-controller/go.mod
- name: Synchronize CRDs
run: |
./build/crd-sync.sh
- name: Check for any changes
run: |
git diff --exit-code