Skip to content

Commit f6a3617

Browse files
Create codeql.yml
1 parent 6553766 commit f6a3617

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: [ "main" ]
5+
pull_request:
6+
branches: [ "main" ]
7+
schedule:
8+
- cron: '30 15 * * *'
9+
jobs:
10+
analyze:
11+
name: Analyze (${{ matrix.language }})
12+
runs-on: ${{ 'ubuntu-latest' }}
13+
permissions:
14+
security-events: write
15+
packages: read
16+
17+
strategy:
18+
matrix:
19+
include:
20+
- language: python
21+
build-mode: none
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@6ccd57f4c5d15bdc2fef309bd9fb6cc9db2ef1c6
25+
- name: Initialize CodeQL
26+
uses: github/codeql-action/init@4b1d7da102ff94aca014c0245062b1a463356d72
27+
with:
28+
languages: ${{ matrix.language }}
29+
build-mode: ${{ matrix.build-mode }}
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@4b1d7da102ff94aca014c0245062b1a463356d72
32+
with:
33+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)