-
Notifications
You must be signed in to change notification settings - Fork 12
60 lines (55 loc) · 1.52 KB
/
codeql.yaml
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
52
53
54
55
56
57
58
59
60
# GitHubActions for CodeQL
# read the docs: https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow
name: CodeQL
on:
push:
branches: [ 'master', '3.0-dev' ]
pull_request:
branches: [ 'master', '3.0-dev' ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '**/*.ini'
- '**/*.cfg'
- '**/*.in'
- '**/*.toml'
- '**/*.json'
- '**/docs/**'
- '**/examples/**'
- '**/images/**'
schedule:
- cron: '30 1 * * 0'
jobs:
CodeQL:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
include:
- name: python-package
language: python
config: python-package.yaml
- name: python-plugin-example
language: python
config: python-plugin-example.yaml
- name: web-ui
language: javascript
config: web-ui.yaml
steps:
- name: Fetch Code
# see https://github.com/actions/checkout
uses: actions/checkout@v2
- name: Initialize CodeQL
# see https://github.com/github/codeql-action
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
config-file: .github/codeql/${{ matrix.config }}
- name: Perform CodeQL Analysis
# see https://github.com/github/codeql-action
uses: github/codeql-action/analyze@v1