Skip to content

Enhance scheduling to respect MachinePool Ready condition #2444

Enhance scheduling to respect MachinePool Ready condition

Enhance scheduling to respect MachinePool Ready condition #2444

Workflow file for this run

name: Check Codegen
on:
pull_request:
jobs:
check-codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
- name: Run make generate
run: make generate
- name: Compare the expected and actual generated/* directories
run: |
if [ "$(git diff --ignore-space-at-eol client-go/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. Consider running 'make generate'."
echo "See status below:"
git diff
exit 1
fi