Skip to content

Commit 6245139

Browse files
authored
Create codeql-analysis.yml
1 parent df6b491 commit 6245139

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
schedule:
9+
- cron: '0 0 * * *'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v3
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v2
24+
with:
25+
languages: javascript
26+
27+
- name: Autobuild
28+
uses: github/codeql-action/autobuild@v2
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)