Skip to content

Commit 9f732d1

Browse files
authored
Set up GitHub CodeQL analysis
1 parent 6c59622 commit 9f732d1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [main]
9+
schedule:
10+
- cron: "28 20 * * 5"
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: ["javascript", "python"]
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: github/codeql-action/init@v1
28+
with:
29+
languages: ${{ matrix.language }}
30+
- uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)