Skip to content

fix: OpenSSF Scorecard compliance (permissions, SHA-pins, SAST) #13

fix: OpenSSF Scorecard compliance (permissions, SHA-pins, SAST)

fix: OpenSSF Scorecard compliance (permissions, SHA-pins, SAST) #13

Workflow file for this run

# SPDX-License-Identifier: AGPL-3.0-or-later

Check failure on line 1 in .github/workflows/codeql.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/codeql.yml

Invalid workflow file

(Line: 24, Col: 19): Matrix vector 'language' does not contain any values
name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0' # Weekly on Sunday
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: []
# Note: OCaml is not directly supported by CodeQL
# This workflow will analyze any JavaScript/Python if added later
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# CodeQL doesn't support OCaml directly, but we include this
# for when/if JS tooling is added (e.g., playground, docs site)
- name: Initialize CodeQL
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
if: matrix.language != ''
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
if: matrix.language != ''
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3
if: matrix.language != ''