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 418ec06 commit 5124a8bCopy full SHA for 5124a8b
.github/workflows/crd-validation.yml
@@ -21,7 +21,7 @@ jobs:
21
- name: Set up Go
22
uses: actions/setup-go@v6
23
with:
24
- go-version: '1.25'
+ go-version: "1.25"
25
cache: true
26
27
- name: Install crdify
@@ -30,9 +30,9 @@ jobs:
30
31
- name: Run CRD Validation Check
32
run: |
33
- git fetch origin ${{ github.base_ref }}:upstream_base
34
- BASE_SHA=$(git rev-parse upstream_base)
35
- echo "Validating against Base SHA: $BASE_SHA (derived from ${{ github.base_ref }})"
+ BASE_REF="${{ github.base_ref }}"
+ HEAD_REF="${{ github.head_ref }}"
+ echo "current branch: $BASE_REF || head: $HEAD_REF"
36
37
FAILED=0
38
for crd in config/crd/bases/*.yaml; do
@@ -49,4 +49,4 @@ jobs:
49
exit 1
50
fi
51
52
- echo "All CRDs are compatible."
+ echo "All CRDs are compatible."
0 commit comments