Skip to content

Commit 23965fe

Browse files
authored
add codeql workflow (#194)
1 parent 4298d2d commit 23965fe

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+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
schedule:
10+
- cron: '33 12 * * 3'
11+
jobs:
12+
analyze:
13+
name: analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
language: [ 'python' ]
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v3
26+
- name: Initialize CodeQL
27+
uses: github/codeql-action/init@v2
28+
with:
29+
languages: ${{ matrix.language }}
30+
- name: Autobuild
31+
uses: github/codeql-action/autobuild@v2
32+
- name: Perform CodeQL Analysis
33+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)