We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab66ff9 commit 418ec06Copy full SHA for 418ec06
.github/workflows/crd-validation.yml
@@ -30,11 +30,11 @@ jobs:
30
31
- name: Run CRD Validation Check
32
run: |
33
- git fetch origin ${{ github.base_ref }}
34
- BASE_REF="origin/${{ github.base_ref }}"
+ git fetch origin ${{ github.base_ref }}:upstream_base
+ BASE_SHA=$(git rev-parse upstream_base)
35
+ echo "Validating against Base SHA: $BASE_SHA (derived from ${{ github.base_ref }})"
36
37
FAILED=0
-
38
for crd in config/crd/bases/*.yaml; do
39
if ! crdify "git://${BASE_REF}?path=$crd" "git://HEAD?path=$crd"; then
40
echo "❌ Incompatible change detected in $crd"
0 commit comments