Skip to content

ci:codeql

ci:codeql #4545

name: ci:codeql
on:
push:
branches:
- main
pull_request:
merge_group:
schedule:
- cron: '0 2 * * 0'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
CodeQL-Build:
name: Continuous integration (CodeQL)
strategy:
matrix:
language:
- javascript-typescript
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
# Fetch immediate parents so that we can checkout
# the head if this is a PR.
fetch-depth: 2
- name: Initialize CodeQL 💾
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Run CodeQL analysis 🔬
uses: github/codeql-action/analyze@v3