name: CodeQL on: push: branches: [main, master] paths-ignore: - 'docs/**' - 'README.md' - 'README_EN.md' - 'CONTRIBUTING.md' - 'SECURITY.md' - 'CODE_OF_CONDUCT.md' pull_request: paths-ignore: - 'docs/**' - 'README.md' - 'README_EN.md' - 'CONTRIBUTING.md' - 'SECURITY.md' - 'CODE_OF_CONDUCT.md' schedule: - cron: '19 18 * * 0' permissions: actions: read contents: read security-events: write concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: analyze: name: Analyze (JavaScript/TypeScript) runs-on: ubuntu-latest timeout-minutes: 30 strategy: fail-fast: false matrix: language: ['javascript-typescript'] steps: - name: Checkout uses: actions/checkout@v7 - name: Initialize CodeQL uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} build-mode: none - name: Analyze uses: github/codeql-action/analyze@v4 with: category: /language:${{ matrix.language }}