Skip to content

Commit c2fd103

Browse files
authored
Create codeql.yml
Signed-off-by: Lala Sabathil <[email protected]>
1 parent 1dd23df commit c2fd103

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+
pull_request:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: "26 6 * * 6"
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
analyze:
16+
name: "Analyze"
17+
runs-on: ubuntu-latest
18+
permissions:
19+
actions: read
20+
contents: read
21+
security-events: write
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
language: ["python"]
26+
steps:
27+
- name: "Checkout repository"
28+
uses: actions/checkout@v4
29+
- name: "Initialize CodeQL"
30+
uses: github/codeql-action/init@v3
31+
with:
32+
languages: ${{ matrix.language }}
33+
- name: "Autobuild"
34+
uses: github/codeql-action/autobuild@v3
35+
- name: "Perform CodeQL Analysis"
36+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)