Skip to content

Initialize ConfiguredCondition in NVE controller #1718

Initialize ConfiguredCondition in NVE controller

Initialize ConfiguredCondition in NVE controller #1718

Workflow file for this run

# SPDX-FileCopyrightText: SAP SE or an SAP affiliate company and IronCore contributors
# SPDX-License-Identifier: Apache-2.0
name: Check Codegen
on:
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
- '**/*.md'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
check-codegen:
name: Detect Drift
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: Run make manifests
run: make manifests
- name: Run make docs
run: make docs
- name: Run make helm
run: make helm
- name: Run fmt
run: make fmt
- name: Compare the expected and actual generated/* directories
run: |
if [ "$(git diff | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. Consider running 'make generate && make manifests && make docs && make helm && make fmt'."
echo "See status below:"
git diff
exit 1
fi