Skip to content

codeql-analysis

codeql-analysis #124

# References:
# - https://github.com/github/codeql-action
# - https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/
name: codeql-analysis
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
defaults:
run:
shell: bash
concurrency:
group: ${{ github.ref_name }}.${{ github.sha }}.codeql
cancel-in-progress: true
jobs:
codeql:
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Disable session history
uses: ./.github/actions/disable-session-history
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2