Skip to content

ci: Exclude CVE-flagged torch 2.6.0+xpu from project toml #2755

ci: Exclude CVE-flagged torch 2.6.0+xpu from project toml

ci: Exclude CVE-flagged torch 2.6.0+xpu from project toml #2755

Workflow file for this run

# This workflow uses the CodeQL Action to analyze a repository for vulnerabilities.
# For more information, see the documentation at https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning
name: "CodeQL Advanced Scan"
on:
push:
branches: ["main", "feature/**", "release/**"]
pull_request:
branches: ["main", "feature/**", "release/**"]
schedule:
- cron: "0 0 * * *"
permissions: {} # No permissions by default on workflow level
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
security-events: write # required to publish sarif
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: python
build-mode: none
- language: javascript-typescript
build-mode: none
- language: rust
build-mode: none
steps:
- name: Harden the runner (audit all outbound calls)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: "/language:${{matrix.language}}"