Skip to content

Commit fecf150

Browse files
committed
[INTERNAL] Add CodeQL Action
1 parent 9feddff commit fecf150

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
codeql-analyze:
11+
name: "CodeQL Analyze"
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v2
17+
18+
# Initializes the CodeQL tools for scanning.
19+
- name: Initialize CodeQL
20+
uses: github/codeql-action/init@v1
21+
with:
22+
languages: 'javascript'
23+
# If you wish to specify custom queries, you can do so here or in a config file.
24+
# By default, queries listed here will override any specified in a config file.
25+
# Prefix the list here with "+" to use these queries and those in the config file.
26+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
27+
28+
# ℹ️ Command-line programs to run using the OS shell.
29+
# 📚 https://git.io/JvXDl
30+
31+
- name: Perform CodeQL Analysis
32+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)