-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (51 loc) · 1.26 KB
/
Copy pathcodeql.yml
File metadata and controls
51 lines (51 loc) · 1.26 KB
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
46
47
48
49
50
51
jobs:
analyze:
name: 'Analyze'
permissions:
actions: 'read'
contents: 'read'
security-events: 'write'
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout repository'
uses: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1'
with:
persist-credentials: false
- name: 'Initialize CodeQL'
uses: 'github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28'
with:
languages: '${{ matrix.language }}'
- name: 'Perform CodeQL Analysis'
uses: 'github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28'
with:
category: '/language:${{matrix.language}}'
strategy:
fail-fast: false
matrix:
language:
- 'python'
- 'actions'
name: 'CodeQL'
'on':
pull_request:
branches:
- 'master'
paths:
- '**/*.py'
- '**/*.pyi'
- '.github/workflows/*.yml'
- '.github/workflows/*.yaml'
- '**/action.yml'
- '**/action.yaml'
push:
branches:
- 'master'
paths:
- '**/*.py'
- '**/*.pyi'
- '.github/workflows/*.yml'
- '.github/workflows/*.yaml'
- '**/action.yml'
- '**/action.yaml'
schedule:
- cron: '15 4 * * 3'