Skip to content

Commit c175455

Browse files
committed
chore(repo-health): add CodeQL workflow
1 parent c8a62f5 commit c175455

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
schedule:
9+
- cron: '20 2 * * 1'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze (javascript-typescript)
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Initialize CodeQL
22+
uses: github/codeql-action/init@v3
23+
with:
24+
languages: javascript-typescript
25+
- name: Perform CodeQL Analysis
26+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)