Skip to content

Commit 5b1e9f4

Browse files
Merge pull request #88 from jasoncrawford/add-codeql
chore: add CodeQL security analysis
2 parents 8389490 + 5e15fb7 commit 5b1e9f4

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎.github/workflows/codeql.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
schedule:
9+
- cron: "0 8 * * 1"
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
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+
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v3
24+
with:
25+
languages: javascript-typescript
26+
27+
- name: Autobuild
28+
uses: github/codeql-action/autobuild@v3
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v3
32+
with:
33+
category: "/language:javascript-typescript"

0 commit comments

Comments
 (0)