|
@@ -0,0 +1,33 @@
|
|
|
|
|
+name: CodeQL
|
|
|
|
|
+
|
|
|
|
|
+on:
|
|
|
|
|
+ schedule:
|
|
|
|
|
+ - cron: '41 4 * * 1'
|
|
|
|
|
+ workflow_dispatch:
|
|
|
|
|
+
|
|
|
|
|
+permissions:
|
|
|
|
|
+ contents: read
|
|
|
|
|
+
|
|
|
|
|
+jobs:
|
|
|
|
|
+ analyze:
|
|
|
|
|
+ name: Analyze JavaScript/TypeScript
|
|
|
|
|
+ runs-on: ubuntu-24.04
|
|
|
|
|
+ permissions:
|
|
|
|
|
+ actions: read
|
|
|
|
|
+ contents: read
|
|
|
|
|
+ security-events: write
|
|
|
|
|
+
|
|
|
|
|
+ steps:
|
|
|
|
|
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
|
|
|
+
|
|
|
|
|
+ - name: Initialize CodeQL
|
|
|
|
|
+ uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4
|
|
|
|
|
+ with:
|
|
|
|
|
+ languages: javascript-typescript
|
|
|
|
|
+ build-mode: none
|
|
|
|
|
+ queries: security-extended
|
|
|
|
|
+
|
|
|
|
|
+ - name: Perform CodeQL analysis
|
|
|
|
|
+ uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4
|
|
|
|
|
+ with:
|
|
|
|
|
+ category: /language:javascript-typescript
|