-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (53 loc) · 1.43 KB
/
codeql.yml
File metadata and controls
61 lines (53 loc) · 1.43 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
52
53
54
55
56
57
58
59
60
61
# CodeQL advanced setup. Replaces default-setup once disabled in repo settings.
# Advanced unlocks paths-ignore (skip generated proto stubs) and workflow pinning.
name: CodeQL
on:
pull_request:
branches: [main]
paths-ignore:
- "sdk/src/opendecree/_generated/**"
- "**/*.md"
push:
branches: [main]
schedule:
- cron: "33 7 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: python
build-mode: none
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
config: |
paths-ignore:
- sdk/src/opendecree/_generated/**
- name: Analyze
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"