Skip to content

Commit 83ccb92

Browse files
committed
Add CodeQL analysis
1 parent dc2c643 commit 83ccb92

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.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: "master"
6+
pull_request:
7+
branches: "master"
8+
schedule:
9+
- cron: '39 16 * * 5'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 360
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v3
24+
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@v2
27+
with:
28+
languages: python
29+
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v2
32+
with:
33+
category: "/language:python"

0 commit comments

Comments
 (0)