blob: bd33175d63458dc1c9ea06b55e697760e96525d8 (
plain)
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
|
# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
name: CodeQL
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '37 4 * * 1'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: ${{ matrix.language }}
runs-on: ubuntu-latest
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
include:
- language: actions
build_mode: none
- language: javascript-typescript
build_mode: none
- language: csharp
build_mode: manual
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5
if: matrix.language == 'csharp'
with:
dotnet-version: 10.0.x
- uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build_mode }}
config-file: ./.github/codeql/codeql-config.yml
queries: security-extended
- name: Build ASP.NET Core for extraction
if: matrix.language == 'csharp'
run: |
dotnet restore Progmaweb.slnx --locked-mode
dotnet build Progmaweb.slnx --configuration Release --no-restore
- uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
category: /language:${{ matrix.language }}
|