Skip to content

CodeQL

CodeQL #57

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '32 7 * * 1' # Weekly, Monday 07:32 UTC
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# GitHub Actions workflows are first-class CodeQL targets and catch
# untrusted-input / workflow-injection patterns. PowerShell is not a
# supported CodeQL language at this time — adoqr relies on
# PSScriptAnalyzer (see build.yml) for that surface.
language: ['actions']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{ matrix.language }}'