ci: add CodeQL workflow

This commit is contained in:
Naor Peled 2025-03-14 00:02:42 +02:00 committed by GitHub
parent ba47b62379
commit 8429e8f9cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

31
.github/workflows/codeql.yml vendored Normal file
View File

@ -0,0 +1,31 @@
name: "CodeQL"
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "21 14 * * 2"
jobs:
analyze:
name: Analyze (javascript-typescript)
runs-on: ubuntu-latest
permissions:
security-events: write
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:javascript-typescript"