Skip to content

CodeQL Analysis

CodeQL Analysis #9

name: CodeQL Analysis
on:
push:
branches:
- develop
pull_request:
branches:
- develop
paths:
- "search/search-dev-tools/src/**.js"
- ".github/workflows/codeql-analysis.yml"
schedule:
- cron: '24 2 * * 6'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Static Code Analysis with CodeQL
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language:
- javascript
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2