Skip to content

CodeQL

CodeQL #2218

name: "CodeQL"
on:
pull_request:
push:
branches:
- "5.7"
schedule:
- cron: '0 2 * * *'
permissions:
contents: read
concurrency:
group: code-ql-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
analyze:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3