Skip to content

Commit 7d4410b

Browse files
committed
add GHA to run crd-diff
Signed-off-by: everettraven <[email protected]>
1 parent dee8608 commit 7d4410b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/crd-diff.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: crd-diff
2+
on:
3+
pull_request:
4+
jobs:
5+
crd-diff:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
with:
10+
fetch-depth: 0
11+
12+
- uses: actions/setup-go@v5
13+
with:
14+
go-version-file: go.mod
15+
16+
- name: Run make verify-crd-compatibility
17+
run: make verify-crd-compatibility CRD_DIFF_ORIGINAL_REF=${{ github.event.pull_request.base.sha }} CRD_DIFF_UPDATED_REF=${{ github.event.pull_request.head.sha }}
18+

0 commit comments

Comments
 (0)