Skip to content

Commit 99772fd

Browse files
committed
feat(codeql): add CodeQL workflow for automated code analysis
1 parent b013e5b commit 99772fd

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: "19 2 * * 1"
10+
11+
permissions:
12+
actions: read
13+
contents: read
14+
security-events: write
15+
16+
jobs:
17+
analyze:
18+
name: Analyze
19+
runs-on: ubuntu-latest
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language:
24+
- javascript-typescript
25+
- actions
26+
27+
steps:
28+
- name: Checkout repository
29+
uses: actions/checkout@v4
30+
31+
- name: Initialize CodeQL
32+
uses: github/codeql-action/init@v4
33+
with:
34+
languages: ${{ matrix.language }}
35+
build-mode: none
36+
37+
- name: Perform CodeQL Analysis
38+
uses: github/codeql-action/analyze@v4

0 commit comments

Comments
 (0)