Skip to content

Merge pull request #255 from NVIDIA/chore/chart-bump-v0.16.1 #159

Merge pull request #255 from NVIDIA/chore/chart-bump-v0.16.1

Merge pull request #255 from NVIDIA/chore/chart-bump-v0.16.1 #159

# 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: Checkov Security Scan
on:
pull_request:
branches: [main]
paths:
- 'chart/**'
push:
branches: [main, checkov-testing]
paths:
- 'chart/**'
env:
# Opt all JS actions into Node 24 ahead of GitHub's Node 20 phase-out.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build:
name: checkov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Test with Checkov
id: checkov
uses: bridgecrewio/checkov-action@v12.3102.0
env:
HELM_NAMESPACE: skyhook
with:
directory: chart
framework: helm
output_format: cli
# 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: [build]
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")'