Skip to content

CodeQL

CodeQL #71

name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '45 13 * * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
packages: read
security-events: write
strategy:
fail-fast: false
matrix:
include:
# Using javascript to scan JSON and YAML files.
- language: javascript-typescript
build_mode: none
- language: actions
build_mode: none
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build_mode }}
queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"