Skip to content

refactor(controller): collapse Skyhook and Node reconciles onto a glo… #687

refactor(controller): collapse Skyhook and Node reconciles onto a glo…

refactor(controller): collapse Skyhook and Node reconciles onto a glo… #687

# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Commit Linting
on:
pull_request:
types: [opened, edited, reopened, synchronize, ready_for_review]
jobs:
commit-linting:
name: Git commit linting
runs-on: ubuntu-latest
steps:
- name: check-for-cc
id: check-for-cc
uses: agenthunt/conventional-commit-checker-action@v2.0.1
with:
pr-title-regex: "^(.+)(?:(([^)s]+)))?: (.+)" # title must follow <type>(<subtype>): short description
pr-body-regex: "(.*)" # body must not be empty
# Single required check for branch protection. See operator-ci.yaml's
# ci-gate for rationale — every workflow that gates merge publishes a
# check named `ci-gate`; GitHub composes same-named required checks.
ci-gate:
name: ci-gate
needs: [commit-linting]
if: always()
runs-on: ubuntu-latest
steps:
- name: Verify all required jobs passed
run: |
results='${{ toJSON(needs) }}'
echo "$results"
echo "$results" | jq -e 'to_entries | all(.value.result == "success")'