OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Add CodeQL scans to GitHub Actions Workflows (#28675)
Andrey Babushkind812c7909f66
diff --git a/.github/workflows/windows_vs2019_release.yml b/.github/workflows/windows_vs2019_release.ymlindex 999be845caa..89cae918511 100644--- a/.github/workflows/windows_vs2019_release.yml+++ b/.github/workflows/windows_vs2019_release.yml@@ -45,7 +45,7 @@ jobs:repo_token: ${{ secrets.GITHUB_TOKEN }}skip_when_only_listed_labels_set: 'docs'skip_when_only_listed_files_changed: '*.md,*.rst,*.png,*.jpg,*.svg,*/layer_tests_summary/*,*/conformance/*'-+- name: Get target branchid: set_target_branchrun: |@@ -192,7 +192,7 @@ jobs:sparse-checkout: |src/bindings/jspath: 'openvino'-+- name: Download OpenVINO artifacts (JS)uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8with:@@ -223,7 +223,7 @@ jobs:run: call npm test- name: Add msbuild to PATH- uses: microsoft/setup-msbuild@v2+ uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce # v2- name: E2E of openvino-node packageworking-directory: ${{ env.OPENVINO_JS_DIR }}/nodediff --git a/.github/workflows/workflows_scans.yml b/.github/workflows/workflows_scans.ymlindex 1a3d091544e..ace73b18751 100644--- a/.github/workflows/workflows_scans.yml+++ b/.github/workflows/workflows_scans.yml@@ -18,6 +18,37 @@ concurrency:permissions: read-alljobs:+ codeql:+ name: github_actions_workflows_scan/codeql+ # Runner size impacts CodeQL analysis time. To learn more, please see:+ # - https://gh.io/recommended-hardware-resources-for-running-codeql+ # - https://gh.io/supported-runners-and-hardware-resources+ # - https://gh.io/using-larger-runners+ # Consider using larger runners for possible analysis time improvements.+ runs-on: ubuntu-22.04+ timeout-minutes: 60+ permissions:+ security-events: write+ steps:+ - name: Checkout+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2+ timeout-minutes: 15+ with:+ submodules: 'false'+ sparse-checkout: .github/workflows++ # Initializes the CodeQL tools for scanning.+ - name: Initialize CodeQL+ uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9+ with:+ languages: "actions"+ build-mode: "none"++ - name: Perform CodeQL Analysis+ uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9+ with:+ category: "/language:actions"+semgrep:name: github_actions_workflows_scan/semgrepruns-on: ubuntu-latest