Skip to content

Commit

Permalink
chore: ci check to ensure generation has been run (#65)
Browse files Browse the repository at this point in the history
* chore: ci check to ensure generation has been run
  • Loading branch information
lukebond authored Oct 19, 2023
1 parent 962aad7 commit dabda49
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ jobs:

- name: ${{ matrix.target }}
run: make ${{ matrix.target }}

- name: check there are no changes after re-generation
run: test -z "$(git status --porcelain)" || (echo 'Changes detected after running make build'; git status; git --no-pager diff; false)
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ spec:
properties:
infrastructureTemplate:
description: InfrastructureTemplate is a required reference to a custom
resource offered by an infrastructure provider.
resource offered by an infrastructure provider. In the next API
version we will move this into the `KThreesControlPlaneMachineTemplate`
struct. See https://github.com/cluster-api-provider-k3s/cluster-api-k3s/issues/62
properties:
apiVersion:
description: API version of the referent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ spec:
properties:
infrastructureTemplate:
description: InfrastructureTemplate is a required reference to a custom
resource offered by an infrastructure provider.
resource offered by an infrastructure provider. In the next API
version we will move this into the `KThreesControlPlaneMachineTemplate`
struct. See https://github.com/cluster-api-provider-k3s/cluster-api-k3s/issues/62
properties:
apiVersion:
description: API version of the referent.
Expand Down

0 comments on commit dabda49

Please sign in to comment.