Skip to content

Commit f9d0f6b

Browse files
committed
ci: add CodeQL security scanning
Signed-off-by: Sora Morimoto <[email protected]>
1 parent e1716d6 commit f9d0f6b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.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+
pull_request:
5+
push:
6+
schedule:
7+
- cron: 0 0 * * 0
8+
9+
jobs:
10+
codeql:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
17+
- name: Use Node.js 14.x
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: 14.x
21+
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v1
24+
25+
- name: Perform CodeQL analysis
26+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)