-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 867 Bytes
/
codeql.yml
File metadata and controls
35 lines (32 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 4 * * 1"
permissions:
contents: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
if: ${{ vars.CODEQL_ADVANCED_ENABLED == 'true' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [actions, python]
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d
with:
languages: ${{ matrix.language }}
build-mode: none
- uses: github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d
with:
category: /language:${{ matrix.language }}