Files
AiSOC/.github/workflows/codeql.yml
T
Beenu Arora 7794078eb4 chore(deps): fold the Nov-9 GitHub Actions wave (pnpm/action-setup 6.1.1 everywhere, cosign 4.1.3, docker/login 4.8.0, kind 1.15.2, codeql group) (#1791)
Folds the five open GitHub-Actions Dependabot PRs into one family PR per
the repo convention (cf. #1419, #1467, #1468):

- #1780 — sigstore/cosign-installer 4.1.2 → 4.1.3 (3 workflows)
- #1779 — pnpm/action-setup → 6.1.1 (13 workflows). Review note: 19 of
21 call sites were **already on v6.0.9 and green**; only
`aisoc-action.yml` and `aisoc-cli.yml` still carried v4, so the
scary-looking 4→6 major is in practice a unification at the version the
fleet already runs. No workflow passes a `version:` input — all resolve
pnpm from the root `packageManager` field (`pnpm@8.15.1`), which v6
supports.
- #1777 — docker/login-action 4.7.0 → 4.8.0 (4 workflows)
- #1774 — helm/kind-action 1.15.1 → 1.15.2
- #1772 — codeql-action group (init/autobuild/analyze) bump

All bumps are SHA-pinned with the version comment preserved, matching
the repo's pin style. The five folded PRs will be closed as superseded
once this merges.
2026-11-10 00:18:54 -08:00

50 lines
1.5 KiB
YAML

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 3 * * 1' # Every Monday 03:00 UTC
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript-typescript, python, go]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Initialize CodeQL
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
languages: ${{ matrix.language }}
queries: security-and-quality
# `plans/cyble-aisoc/` is a historical-spec mirror of the (private)
# AISOC-Cyble repository, kept for open-source provenance. Its
# `platform/` Python prototype was superseded by the canonical
# implementation under `services/` and is not a deployed artifact;
# CodeQL findings there would be noise, not actionable security
# issues.
config: |
paths-ignore:
- 'plans/cyble-aisoc/**'
- name: Autobuild
uses: github/codeql-action/autobuild@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
category: '/language:${{ matrix.language }}'