CodeQL Analysis #512
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL Analysis | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
paths: | |
- "lib/**.ts" | |
- ".github/workflows/codeql-analysis.yml" | |
schedule: | |
- cron: '24 2 * * 6' | |
permissions: | |
contents: read | |
jobs: | |
analyze: | |
name: Static Code Analysis with CodeQL | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
- javascript | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0 | |
with: | |
languages: ${{ matrix.language }} | |
config-file: ./.github/codeql-config.yml | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3.23.0 |