Skip to content

refactor(domain): honest row shapes, and a select nobody could fill i… #2081

refactor(domain): honest row shapes, and a select nobody could fill i…

refactor(domain): honest row shapes, and a select nobody could fill i… #2081

Workflow file for this run

name: CodeQL
on:
pull_request:
branches: [main, develop, "release/**"]
push:
branches: [main, develop, "release/**"]
schedule:
# Weekly catch-all run so newly-disclosed query packs surface on
# unchanged code too. Monday 03:00 UTC keeps it off business hours.
- cron: '0 3 * * 1'
permissions:
contents: read
security-events: write
actions: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
# CodeQL doesn't ship a PHP analyzer (Aug 2025: js/ts/py/java/go/c#/
# c++/swift/kotlin/ruby only). The PHP side of the codebase is
# covered by PHPStan + composer audit + WPCS. If CodeQL adds PHP
# later, add it here.
language: ['javascript']
steps:
- uses: actions/checkout@v7
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# `security-extended` enables the extended security pack;
# `security-and-quality` would also add maintainability rules
# which are noisy on a WP plugin. Pick the security-only one.
queries: security-extended
- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: '/language:${{ matrix.language }}'