-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 907 Bytes
/
codeql.yml
File metadata and controls
45 lines (40 loc) · 907 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
36
37
38
39
40
41
42
43
44
45
name: CodeQL
permissions:
actions: read
contents: read
security-events: write
on:
push:
branches:
- main
pull_request:
branches:
- "**"
workflow_dispatch:
schedule:
- cron: "24 3 * * 1"
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language:
- actions
- python
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Initialize CodeQL
id: init
continue-on-error: true
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: none
- name: Perform CodeQL Analysis
if: steps.init.outcome == 'success'
uses: github/codeql-action/analyze@v4
with:
category: /language:${{ matrix.language }}