Skip to content

Commit 43acd65

Browse files
authored
ci: add CodeQL for GHA and Python (#195)
1 parent 7f272da commit 43acd65

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 'CodeQL'
2+
3+
'on':
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
schedule:
11+
- cron: '0 0 * * 4'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}
15+
16+
permissions: {}
17+
18+
jobs:
19+
gha_python:
20+
name: 'GHA and Python'
21+
runs-on: ubuntu-latest
22+
permissions:
23+
security-events: write # To create/update security events
24+
steps:
25+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
26+
with:
27+
persist-credentials: false
28+
29+
- name: 'initialize'
30+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3
31+
with:
32+
languages: actions, python
33+
queries: security-extended
34+
35+
- name: 'perform analysis'
36+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3

0 commit comments

Comments
 (0)