Skip to content

chore(ci): use central CodeQL reusable workflow #4848

chore(ci): use central CodeQL reusable workflow

chore(ci): use central CodeQL reusable workflow #4848

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# CI SAST via NVIDIA/security-workflows (CodeQL).
# Replaces the repo-local CodeQL steps with the centrally maintained reusable workflow so action pins and query suites are updated in one place.
# Pinned to a reviewed commit SHA.
name: "Static Analysis: CodeQL Scan"
on:
push:
branches:
- "pull-request/[0-9]+"
- "ctk-next"
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
# Caller must grant every permission the reusable workflow declares.
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze
uses: NVIDIA/security-workflows/.github/workflows/sast-scan-codeql.yml@67152795d4c95ab06593ec52d1e19aa56633f6a7
with:
languages: '["python"]'
runs-on: ubuntu-latest
queries: security-extended