Skip to content

CodeQL analysis

CodeQL analysis #23

Workflow file for this run

name: CodeQL analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 8 * * *' # every day at 8 AM UTC
jobs:
analyze:
name: Analyze code
runs-on: ubuntu-24.04
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
# only required for workflows in private repositories
actions: read
# repository contents
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
- language: actions
build-mode: none
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: none
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: '/language:${{matrix.language}}'